|
Posted by Dylan Parry on 11/24/06 09:44
David wrote:
> Is there any way with html to put in a link which clicking on will allow a
> visitor to my site to download a file to their computer to save on their
> hard drive as opposed to just being displaying in their browser?
No. If the file is opening in the user's browser, it's because their
browser is able to support that file type, or has a plugin that does it.
The only way you have guarantee that the file will be downloaded, as
opposed to displayed, is to tell the user to right-click and choose
"save as" (or similar).
--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk
Programming, n: A pastime similar to banging one's head
against a wall, but with fewer opportunities for reward.
[Back to original message]
|