>I set up an anchor tag to download a file.
>ie:
Download myfile>
>When you hit the link the file downloads after a client DL dialog. However, if you replace myfile.trt with an MS WORD document, the word document opens in a browser window.
>
>I want the word document to download not to open. How do you do that? Someone once showed me a way to modify this feature via a
<meta>
tag attribute but for the life of me I can't remember. Any thoughts?
>
>Neil
I use (in WC):
s = [HTTP/1.0 200 OK] + CHR(13) + CHR(10) +;
[Mime-version: 1.0] + CHR(13) + CHR(10) +;
[Content-Disposition: attachment; filename=] +;
sFileName + CHR(13) + CHR(10) +; [] + CHR(13) + CHR(10)
response.write(s)
response.write(sFileString)