If there is a text file in the server, and the user is given a link to it. If the user clicks it, the browser should give the user a Open/Save (Download) option. But it is not happening. It is opening the text file in the browser. How to do away with this??
you should put new Content-Type header to octet/stream and use PassThrough(), but IE will ignore it - if IE discover, that file you're sending contains plain/text, it will always open it 🙁
If you have access to your server config files you can remove the line that recognises plain/text. Not ideal but it works.
Mark.
could you zip it up?