View Full Version : Uploading a downloadable file to my website
Frenchie
03-20-2009, 06:39 AM
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!!
shadmego
03-20-2009, 07:42 AM
Just create a simple link directly to the file you want available for download:
<a href="download.zip">Click here to download</a>
If the file is in a folder somewhere:
<a href="downloadfolder/download.zip">Click here to download</a>
~regards, and welcome
Frenchie
03-20-2009, 12:16 PM
Thank you and thank you, however,I feel really silly but I just can't get my head round this!! :confused:
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?!!
shadmego
03-20-2009, 01:14 PM
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:
<a href="downloads/reallycooldownload.zip">Click here to download</a>
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.
Does that help clear things up a bit?
~regards
Frenchie
03-20-2009, 01:41 PM
Very much so, thank you. In my head I was making it far too complicated. Much easier than I thought. Thanks again
Powered by vBulletin™ Version 4.0.5 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.