Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send ASCII delimited file for a browser to download?
Message
De
25/01/2001 15:24:22
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Titre:
How to send ASCII delimited file for a browser to download?
Divers
Thread ID:
00468740
Message ID:
00468740
Vues:
56
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform