03 Dec 2008

Adding a file to download from your iWeb site

10 Comments Tutorials

One of the most popular questions I am e-mailed is ‘how do I add a file to my site that visitors can download?’ and the answer really is quite simple. In this short tutorial I hope to explain how to add a file and make it available to anyone who visits your iWeb site.For the purpose of this tutorial I have already made a file in Pages. I saved the file as a PDF using the ‘Print’ command from the ‘File’ menu and then choosing ‘Save as PDF’ from the PDF menu. To make the file easier to find later on, I saved it to my desktop, but you can save it anywhere you want.

Find the file on your mac and then right-click (Ctrl-click) on it to show the menu. Select ‘Compress “yourfilename”‘. This will automatically convert the file into a ‘zip’ archive ready for downloading. Obviously you do not have to ‘zip’ your file. You can, for example leave it as a PDF and users will be able to open it in their browsers; the method below however, is just the same.

Now open iWeb and navigate to the page you want to add the download to.

Create a text-box and insert some text; something along the lines of ‘Download Now’ or ‘Click here to download the file’. If you want you can also insert an icon to represent the file (such as the PDF or MS Word icons).

Open ‘Inspector’ and select the ‘Hyperlink’ icon. Put a tick in the ‘Enable as a hyperlink’ box.

Select ‘A File’ from the drop-down menu and a pop-up window will appear allowing you to select the file you want visitors to download.

Find the file and select the ‘Open’ button. The window will close and the hyperlink has been created.

All you have to do now is save your site and publish as normal. iWeb will automatically upload a copy of the file to your server when you do a ‘Publish’; either to a folder or MobileMe. Job done!!

written by
AllAboutiWeb (AAi) is your one stop shop for everything iWeb. We provide tips, tricks and more to get the most out of your iWeb website. Follow us in twitter at @allaboutiweb
Related Posts

10 Responses to “Adding a file to download from your iWeb site”

  1. Reply David says:

    Can you make it password protected before the download?

  2. Reply iLaurent says:

    @David : one solution is to password protect the file itself with Aperçu (if it is a PDF for ex.)

  3. Reply Shauna McCullough says:

    Does this file download still work with iWeb 09 if the site is published with another host. My site is for a music school and the demo is running on mobile me but it will be transfered to a .com address this weekend. Check the MobileMe one if you can and let me know what you think. Thanks for all your help

  4. Reply Smith says:

    is their any way you can add a whole folder to iweb if so thanks.

  5. Reply Greg Hutchins says:

    You’re gifted. Your explanation on a simple question, how to download a pdf, was the best on the web. Provide tips. Good stuff.
    Greg H

  6. Reply Melissa says:

    Is there a way to add a PDF for downloading without the hyperlink adding the .pdf to the title? For example, if I try to add a file entitled “consent form”, it uploads as “consent form.pdf”. I would like to have the file available with just the name of the document.

    Any suggestions?

  7. Reply Kate says:

    One very minor point, just for the sake of keeping it step-by-step…you need to select the text (or image) that you want to use as a hyperlink, before ticking “enable as a hyperlink.”

    @Melissa, sometimes even when I highlight certain text to make the text link to a file, iWeb will swap out the text I highlighted on the page with the actual name of the file I selected in the hyperlink window. I just re-type on the page, re-highlight, re-enable, and so on.

  8. Reply Jeff says:

    That was easy. Thanks so much!


  9. Reply Duke says:

    What if it’s a 2 page .pdf?

    i keep getting this “There was an error communicating with the FTP server. Try again later, or check with your service provider.” message.

    Do you have to do something else if it’s 2 pages?


Leave a Reply