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.