Prompting a download of an external file in ASP.

A

Andrew Henry

I'm trying to create an ASP page which, when it loads runs the ASP code
first then prompts the user to download a text file. I know the answer
might be obvious to some of you, but I've sone several searches online
and I'm not getting anything.

1) Run code in ASP page.

2) Prompt user for download of external txt file after code is finished
running.
 
A

Andrew Henry

By external I mean it's on the same server instead of being the ASP file
itself. (I've tried making an ASP page that tricks the browser and
downloads as a txt file, but it doesn't meet the specifications of the
application). The link you've given me seems to be what I'm looking for
though, thanks!
 
B

Bullschmidt

And another option would be to put the text files into zip files and
then simply link to those...

Best regards,
J. Paul Schmidt, Freelance ASP Web Designer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top