I want to add a download file to my website but am lost.
I want it to be so that there is a link 'click here to download' and when it is clicked on you get the .zip file download box pop up and start downloading from there.
Any help appreciated!!
I want to add a download file to my website but am lost.
I want it to be so that there is a link 'click here to download' and when it is clicked on you get the .zip file download box pop up and start downloading from there.
Any help appreciated!!
Just create a simple link directly to the file you want available for download:
If the file is in a folder somewhere:Code:<a href="download.zip">Click here to download</a>
~regards, and welcomeCode:<a href="downloadfolder/download.zip">Click here to download</a>
4ChristMinistry.org - Web development tutorials and Community forum.He is no fool that gives what he cannot keep to gain what he cannot lose. - Jim Elliot
Demos - Kicking the tires on some popular software.
Thank you and thank you, however,I feel really silly but I just can't get my head round this!!
I've uploaded the file into a folder on the webserver, but from there I'm stuck, how do I know what folder name to put in the
<a href="downloadfolder/download.zip">Click here to download<a>
I don't understand how to link the file to the 'click to download' link?!!
The folder name you put there is the folder you uploaded your zip file to.
I have a file named reallycooldownload.zip.
I upload this file to a folder called downloads.
This downloads folder is itself inside my public_html directory, where all my other website files are located.
If I want to put a link to that zip file for others to download, I would use the following code in my HTML page:
The "link" you are talking about is the href="" part. What goes between the quotes is the path to the file you want to link to. It can be a webpage, an external website, or any number of documents you want others to be able to download.HTML Code:<a href="downloads/reallycooldownload.zip">Click here to download</a>
Does that help clear things up a bit?
~regards
4ChristMinistry.org - Web development tutorials and Community forum.He is no fool that gives what he cannot keep to gain what he cannot lose. - Jim Elliot
Demos - Kicking the tires on some popular software.
Very much so, thank you. In my head I was making it far too complicated. Much easier than I thought. Thanks again