Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you download an MS WORD document?
Message
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
00717609
Message ID:
00728709
Views:
16
Thank you.

I will try this.

Regards,
Neil

>>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)
>
Previous
Reply
Map
View

Click here to load this message in the networking platform