Click to See Complete Forum and Search --> : Download file using ASP
yearbass
08-03-2005, 11:32 PM
Hi all,
Anybody know how to download file (.xml, .html, .css, text file) from server using ASP? :confused:
Thank You !!!
buntine
08-04-2005, 12:33 AM
Download to where? Its already on the server. Do you mean make it available to the client?
You can send the file to the client along with a download dialog by modifying the content-type header.
Regards.
Bullschmidt
08-09-2005, 08:14 PM
You could put the file in a zip file or perhaps check this out:
How do I prompt a "Save As" dialog for an accepted mime type?
http://www.aspfaq.com/show.asp?id=2161
Or perhaps this is what you're wanting to do:
How do I read the contents of a remote web page?
http://www.aspfaq.com/show.asp?id=2173