Board index » html » A simple question... How to start a file download?
|
Peter Butler
Registered User |
|
Peter Butler
Registered User |
A simple question... How to start a file download?
2005-09-01 06:09:00 AM
hi there... can someone please explain to me how I get a browser to start downloading an Excel spreadsheet from the host server. I've experimented with <a href=ftp"www.site.com/file.xls">Dowload xls NOW!<a> but not happening. Am I on the right track??? tnx - |
| Blinky the Shark
Registered User |
2005-09-01 06:46:00 AM
Re:A simple question... How to start a file download?
Peter Butler wrote:
Quotehi there... Blinky Linux Registered User 297263 Killing All Posts from GG: blinkynet.net/comp/uip5.html End Of The Good GG Archive GUI: blinkynet.net/comp/gggui.html - |
| Blinky the Shark
Registered User |
2005-09-01 06:57:00 AM
Re:A simple question... How to start a file download?
Peter Butler wrote:
Quotehi there... -- Blinky Linux Registered User 297263 Killing All Posts from GG: blinkynet.net/comp/uip5.html End Of The Good GG Archive GUI: blinkynet.net/comp/gggui.html - |
| Benjamin Niemann
Registered User |
2005-09-01 07:01:00 AM
Re:A simple question... How to start a file download?
Peter Butler wrote:
Quotehi there... is what you want. -- Benjamin Niemann Email: pink at odahoda dot de WWW: www.odahoda.de/ - |
| Peter Butler
Registered User |
2005-09-01 07:17:00 AM
Re:A simple question... How to start a file download?QuoteWhat I said...and make that final tag a CLOSE anchor tag, if it's - |
| SpaceGirl
Registered User |
2005-09-01 07:18:00 AM
Re:A simple question... How to start a file download?
Peter Butler wrote:
line of text that says "Right-click this link and choose 'Save As...' toQuoteWhat I said...and make that final tag a CLOSE anchor tag, if it's Yeah.. but that just opens the file in the browser... I actually want to save the fiel to local... You have no control over that, and there is no way around it. Just put a save this file to your computer." For most people that will work. There's no smart way of forcing the file to download to a users desktop. -- x theSpaceGirl (miranda) # lead designer @ www.dhnewmedia.com # # remove NO SPAM to email, or use form on website # # this post (c) Miranda Thomas 2005 # explicitly no permission given to Forum4Designers # to duplicate this post. - |
| Blinky the Shark
Registered User |
2005-09-01 07:32:00 AM
Re:A simple question... How to start a file download?
Peter Butler wrote:
Quote
Blinky Linux Registered User 297263 Killing All Posts from GG: blinkynet.net/comp/uip5.html End Of The Good GG Archive GUI: blinkynet.net/comp/gggui.html - |
| Benjamin Niemann
Registered User |
2005-09-01 07:45:00 AM
Re:A simple question... How to start a file download?
Peter Butler wrote:
Quote
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: www.odahoda.de/ - |
| Jonathan N. Little
Registered User |
2005-09-01 08:55:00 AM
Re:A simple question... How to start a file download?
Benjamin Niemann wrote:
<snip> Quote
I do remember reading somewhere of some hacks of trying to encode the user & password in a url...but if there is a way I believe this is NOT the route your should take. -- Take care, Jonathan ------------------- LITTLE WORKS STUDIO www.LittleWorksStudio.com - |
| Benjamin Niemann
Registered User |
2005-09-01 05:12:00 PM
Re:A simple question... How to start a file download?
Jonathan N. Little wrote:
QuoteBenjamin Niemann wrote: Quoteand ftp usually(always?) configured, this will work just fine. Most ftp servers have anonymous read access enabled as default. QuoteI do remember reading somewhere of some hacks of trying to encode the URLs - though the latter form should not be used, as the password looses its meaning, if it available on website or in someones bookmark collection. -- Benjamin Niemann Email: pink at odahoda dot de WWW: www.odahoda.de/ - |
