One common use for Fetch is uploading files to web servers. Web authors often create their HTML, GIF, JPEG, etc. files on a Mac, and use Fetch to transfer the files to the computer that will actually serve the files over the Internet.
This tutorial topic walks you through your first such transfer.
Before you start, you need to gather three important pieces of information:
- The hostname of the server that will hold your pages. It should be something like "www.domainname.com". You don't want an entire adddress (such as http://www.domainname.com, just the hostname part.)
- Your username. This is the name which you use to sign on to the server.
- Your password.
If you do not have these pieces of information, please contact us.
How to use Fetch
This tutorial shows you how to use Fetch to upload. You can use Fetch to upload by doing the following:
|Under the File menu, choose the New Connection command.
|Enter your hostname, username, and password in the appropriate text fields of the New Connection dialog.
|Click the Connect button.
|You should see a list of the files that make up your website.
|Otherwise, you will need to correct one or more of the pieces of information you entered in the New Connection dialog.
|If you've successfully connected to the server and are viewing the folder with your web files, you can choose New Shortcut from the Shortcuts menu to create a shortcut for future use. This shortcut will be added to the Fetch Shortcuts list. To use it later, choose it from the Shortcuts pop-up menu in the New Connection dialog (or to choose it from the list of shortcuts in the Shortcuts menu).
|Once you're connected, click the Put button in the toolbar or choose the Put command from the Remote menu to upload your web files.
|A dialog for selecting files appears.
If all of the files are in one folder, you can navigate to that folder and select them all to upload. Select multiple files by holding down the Shift or Command keys when clicking. Otherwise, you can choose them one by one. You can also select folders. The dialog also offers several other options, such as what format to use for the transfer. The default choices of Automatic format and Replace existing files are usually what you want. Then click the Put button to begin the transfer.
Once the pages have been uploaded, you should verify them with a web browser, such as Safari, Firefox, or Internet Explorer. Enter your website's address in the browser's Address or Location field and check to make sure that all the images display correctly as well as that all the links work. If there are any problems, double-check your HTML tags to make sure that they have the correct file references. Also, be aware of the particular requirements of your service provider. CGI scripts may need to go in a particular remote folder, and you may need to set their execute permission bit.
All files must go in public_html folder. Do NOT place any other files anywhere but here. Your home page file name MUST be labelled index.htm or index.html. The server will try to find this page to display as your first page.
After you've uploaded your webpages successfully, you may want to set up WebView, which allows you to select files in Fetch and to view them in your web browser by clicking the WebView button, also to use the Copy Web Address command to copy the web address of those files.