Sometimes you have items on your website that you want your customers to be able to download to their home computer. Things like large documents and PDF files, long videos, or songs. But most files are automatically opened in the browser window rather than saved as a download file.
This how to will explain two ways to do it - an easy way and a slightly harder way. The first requires that your readers do most of the work, while the second requires that you do a little work to the file to download.
Difficulty: Average
Time Required: 10 minutes
Here's How:
- Upload the file to be downloaded to your Web server. Make sure you know where it is by testing the full URL in your browser window.
/documents/large_document.pdf
- Edit the page where you want the link and add a standard anchor link to the document.
<a href="/documents/large_document.pdf">Download the large document</a>
- Add text next to the link telling your readers they need to right-click the link in order to download it.
Right-click the link and choose "Save Link As..." to save the document to your computer
- If your readers ignore that step, you can adjust the file to something that will be automatically downloaded by most browsers: a zip file or compressed file.
- Use your operating system compression program to turn your download file into a zip file.
- Upload that zip file to your Web server. Make sure you know where it is by testing the full URL in your browser window.
/documents/large_document.zip
- Edit the page where you want the link and add a standard anchor link to the zip file.
<a href="/documents/large_document.zip">Download the large document</a>
Tips:
- Most operating systems have some compression software built in. If yours doesn't, you can look up "zip files" in a search engine to find a program to build them for you.
- You can use this technique for images, movies, music, and documents as well as PDF files. Anything you can compress as a zip file you can post to your site for download.
What You Need:
- The file to be downloaded.
Comments
Post a Comment