Posted by Benjamin Niemann on 09/30/97 11:25
Peter Butler wrote:
>
>> What I said...and make that final tag a CLOSE anchor tag, if it's
>> really <a> in your code.
>>
>>
>
> Yeah.. but that just opens the file in the browser... I actually want to
> save the fiel to local...
If you are really using the ftp protocol, then there's no way to control
this AFAIK.
With http you can set the Content-Disposition header with either a
server-side language (e.g. PHP) or an appropriate server configuration (and
a user-agent *may* decide to open a 'Save as...' dialog instead of opening
it in the browser).
The same question has been asked a few days ago. Look for the thread 'saving
files to a pc'.
--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/
Navigation:
[Reply to this message]
|