Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send ASCII delimited file for a browser to download?
Message
From
25/01/2001 15:24:22
 
 
To
All
General information
Forum:
Internet
Category:
Active Server Page
Title:
How to send ASCII delimited file for a browser to download?
Miscellaneous
Thread ID:
00468740
Message ID:
00468740
Views:
55
I'm primarily a VFP developer. For this particular project I had to go the pure ASP/VBS/ADO route. I'm almost finished amnd it's looking good.

One page generates an HTML report using ADO and VBS. After the report is shown, one of the choices the user gets is to download the data in an ASCII delimited file (that was the request, though I might add XML in the future).

I recurse the report page, using the same ADO logic, but instead of Response.Write to create an HTML table, I concatenate the data, delimited with commas into a variable.

Q: What's the syntax to send the variable contents as a download file? Obviously I do not want to Response.Write to the browser.

Q: Is the variable concatenation idea OK? I don't expect the dataset to be too big. Any other (better) choices?

TIA


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Next
Reply
Map
View

Click here to load this message in the networking platform