Transferring Files to the PHP Server Using Fetch (for Macintosh)
If you use a Macintosh computer, we recommend using Fetch as your FTP program. Fetch
is listed in the Toolbox, in the FTP Tools section.
Connecting to the server
Once you have downloaded and installed Fetch, double-click the Fetch icon to open Fetch. You will see a window
labeled "New Connection," as shown below (if you do not see the New Connection window, choose "New Connection" from Fetch's
File menu):

To establish a connection to the PHP server, complete these steps:
- Type "pages.cthome.net" in the box labeled Host.
- Type your SNET Internet login name in the box labeled User ID.
- Type your SNET Internet password in the box labeled Password.
- Click OK.
Fetch will attempt to connect to the PHP server. If you have supplied a valid login name and password, you
will see a window labeled "pages.cthome.net," as shown below:

The box in the left half of the window shows the files currently on the PHP server. (Notice the small
pull-down menu at the top of the box labeled "docs." This shows you are logged in to your documents directory
of the PHP server. Any file shown in this box belong to you. You should not move out of the docs directory.)
Use the buttons labeled "Put File..." and "Get File..." on the main screen to send a file from your computer
to the server (put, or upload) or to receive a file from the server to your computer (get, or download).
Leave the "Automatic" option (located beneath the "Get File..." button) checked.
Uploading and downloading files
To download a file from the server to your computer, choose the file(s) you would like to download
from the list in the left half of the window. Then click "Get File..." The file
will be sent to a folder on your computer's hard drive (the location of which is specified in Fetch's
preferences. For help setting the preferences, see "Configuring Fetch," below.)
To upload a file to the server, click the button labeled "Put File..." A window will appear asking
you to specify the file name and format of the file you are uploading. If you are uploading an HTML file,
make sure the format is set to "Text," as shown below:

If you are uploading an image (a GIF or a JPEG, for example) or a sound make sure the format is set to
"Raw Data," as shown below:

If you would like to upload more than one file at a time, choose "Put Folders and Files" from the Remote menu. You
will be able to specify many files at once, which can save time if you need to upload an entire Web site.
Remember, the PHP system does not allow directories to be created. If you try to upload or create a folder, you will get
an error.
Configuring Fetch (only needs to be done once)
Before you begin uploading and downloading files to and from the server, you may wish to configure Fetch. You
only need to configure Fetch the first time you use it; Fetch will remember your preferences.
Choose "Preferences..." from the menu labeled Customize. A window labeled Preferences will appear. Click on the
"Download" tab. You will see:

The options on this screen determine how Fetch will download files from the server. The "Use
download folder:" option specifies the folder into which Fetch will place files received from the server.
You may wish to create a new folder on your computer's hard drive to hold your Web files. You can
then send files from the server directly into this folder by clicking the button labeled "Desktop Folder" in the
example above (your copy of Fetch may show a different folder) and then choosing the folder you would like to use.
Fetch also lets you customize your uploading preferences. Click on the "Upload" tab. You will see:

You should change the settings on your computer to match those shown above.