You are here: Re: A simple question... How to start a file download? « HTML « IT news, forums, messages
Re: A simple question... How to start a file download?

Posted by Benjamin Niemann on 10/06/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация