Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloading WORD files to save not to view
Message
From
03/11/2002 10:52:14
 
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00717723
Message ID:
00718284
Views:
19
Thank you. This looks like it.

Reagrds,
Neil

>>>Hi,
>>>
>>>If you place a word file in a link, ie:
>>>
>>>
>>> <a href="mywordfile.doc>download my word file<a>
>>>
>>>
>>> the file word file will download and **open** in the browser for viewing. I want to download it and just save it to disk without viewing it. How do you do this?
>>>
>>>Neil
>>
>>You need to set the header on the page returning the document....
>>
>>
>>HTTP/1.0 200 OK
>>Mime-version: 1.0
>>Content-Disposition: attachment; filename="thefile.doc"
>>...
>>

>>
>>You can then use filetostr() or even just write the field.
Previous
Reply
Map
View

Click here to load this message in the networking platform