>Hello everybody
>I've made a link to a text file in html format and when you click on it it displays the contents in the browser window instead of prompting me to download the file...
>I am running an Microsoft IIS5 and using ASP, JavaScript, VBscript
>Probably some of you have dealt with this before...
>also zipping the file is not an alternative for me. nor clicking the right mouse button and selecting "Save Target As"...
>:)
>Any feedback is strongly appreciated...
>Sincerely,
>David Aleksanyan
Hi,
You can do this from an ASP page, by specifying Response.ContentType and also setting a ContentDisposition header. Do a search through MSDN and the WEB for references to ContentType and ContentDisposition.
If you're still stuck, I'll dig around for an example.