Home HTML Guides Sitebuilder Q & A Resources Forum
J-ROBINSON.co.uk
HTML Central The Hunger Site - give food for free!


Q & AQ & A: Answer

Andrew asks: How do I make files available for download from my site?

A nice simple one here: first, upload the file to your webspace (along with your web pages), then use a normal A tag to link to it like this:

<A HREF="file.zip">Click here to download</A>

When the user clicks on this link the browser will ask whether they want to open or save the file. If the user selects Save, they will be prompted for a file name and it will then be downloaded.

Some types of files may open within the browser window by default (if there is an appropriate plugin installed), for example Word documents and Acrobat PDF's. To actually download the file, the user needs to right click on the link to these documents and select Save Target As (it may be named differently in different browsers). Or you could zip the file and put that on your site.

HTML Central Home
    Q & A

Search:
 
Search facility provided by Atomz.com.
HTML Guides: Click here for HTML Guides index.
Navigation Bar
Please send any comments, questions or complaints via this form
HTML Central is part of j-robinson.co.uk
© James Robinson 2001

Valid HTML! Valid CSS! Labelled with ICRA