How do I setup a download link on my website?

Article Details
URL: https://resalesupport.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=317
Article ID: 317
Created On: 05 Oct 2008 04:29 AM

Answer
It's easy to create a link to a non-HTML file so that your readers can download that file.
Difficulty: Easy
Time Required: 5 minutes

Here's How:

  1. Upload your file to your Web server, and remember what directory it's in.
  2. Open the Web page to download from in an HTML editor.
  3. Find the location where you want the download link to be.
  4. Add a link to the file: <a href="file.zip">download zip file now</a>
  5. Verify that the URL in the anchor tag is where the zip file is located
  6. Save your Web page
  7. Upload the page to your Web server
  8. Test the link

Tips:

  1. You can link to any file you want.
  2. Images and other Web pages cannot be downloaded automatically.
  3. Your readers need to hold down the shift key while clicking to save a Web page.
  4. If the Web server has the MIME types set up, many files will give your readers to open or download the file (such as with Word documents or Excel spreadsheets).

What You Need: