Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloading WORD files to save not to view
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00717723
Message ID:
00718283
Views:
26
>>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
Next
Reply
Map
View

Click here to load this message in the networking platform