Is it possible to have a link to a text file that prompts the user to save the file and not load it in the browser?
The only way I can think of is to zip the text file beforehand, but that's not ideal.
Printable View
Is it possible to have a link to a text file that prompts the user to save the file and not load it in the browser?
The only way I can think of is to zip the text file beforehand, but that's not ideal.
yes:
i just did that yesterday.
in your IIS open Properties windows and go to "HTTP headers", MIME extentions section, add your extention - which is "txt" and set the content type to "content-disposition"
that's it!
Thanks, but I have no access to the web server I use =( .