FTP as Explained using the Program, FETCH


FTP (File Transfer Protocol) is the method that is used to send files over the Internet from one computer to another. Usually computers have a built in way of doing this, but it is "command line" commands which involves byzantine syntax, that most people don't want to deal with.

That is why "FTP clients" were created. They allow you to use a familiar interface to do FTP. In this lesson, we will base it on "Fetch" which is installed in the Jones Center on the Macintoshes. We are in the process of licensing and installing Windows FTP (32 bit) in our NT lab. All these products work very similarly, so once you see one work it should be easy to transfer that to another product.

If you want an FTP client (or other Internet software), there is a site on the web at

http://168.99.7.3/download.html

which has a good selection you may download. Some of it is Freeware and some of it is Shareware. Please read the license that accompanies each of the downloads. Both FETCH and WINDOWS FTP (32 BIT) are availible there.

The FTP Process

When you start FETCH, which you should find under the Apple menu (first one on the left in the menubar) on all Macs in the center, you will probably have a window come up that looks like you should connect to some specific place. Cancel that, and got to NEW CONNECTION in the FILE menu.

When you do that, you should see a dialog box like the one below, but empty. Fill it in as you see below. I know you don't know the password. If you are at the University of Redlands, it will be given to you in and HTML class. If you are doing this independently, call the Jones Center at x4965 and we will whisper it to you on the phone.



When you click on OK you should see a the following box appear. It may not have just the files you see here in the window. "class" at the top of the window will tell you that you are in the right directory.



Now you want to upload a file. That is called PUT in FTP language. So what you do is click on the PUT button, but before you do that, you should be sure that the "radio button" for Automatic is selected at the bottom of the dialog box. This should assure you that the program will detect what kind of a file you are PUTTING (Text or Binary) and automatically send it the right way.

Now press the PUT button. You will be confronted with a dialog box that shows you files on your computer. You will need to move around in the directories (use the drop down menu at the top that here says "Jones"). When you locate the file you want, select it and click on OPEN.



If you have selected and HTML file, what you will see is the graphic below. HTML files are TEXT files, so that is what should be in the Format: area. If it isn't, this is a drop-down menu, and you can change it.



If you are PUTTING a graphic, then the Format: should be Raw Data. In either case, click on OK and you will see a circle slowly fill in in black as it transfers the file from your computer to newton.



Now the name of the file should appear in the window in the FETCH dialog box. It is on newton, but not accessible to those using the web. That is because the file has not had its PERMISSIONS set so the general public can get to it.



To set the PERMISSIONS you will need to SELECT the file in the window, as FormPage.txt is selected here. Then go to the menu of the program (in Fetch, the menu is REMOTE) where you will find an option called SET PERMISSIONS. They should be set as seen in the graphic below.



Click OK, and the permissions should be set so the general public will be able to view and use your web pages.

The other option is, of course, to GET a file from newton and bring it to your computer. That is accomplished by selecting the name of the file in the FETCH dialog window, and then clicking on the GET button. There will be no further information. You will you will see the circle once more fill with black, as the file is transferred from newton to your computer. The only problem is, "where is the file?" If you have been wise, you have gone to the programs PREFERENCES in the CUSTOMIZE menu and in Downloads, set the folder where you want to put files you GET. In the labs, that is already set to the folder Downloads on the desktop.

PUTTING and GETTING Multiple Directories and Files

When you have lots of files to PUT or GET, there are options in the REMOTE menu called "Get Directories and FIles" and "Put Directories and Files." These will allow you to chose multiple files and directories (folder) to PUT and GET. When you choose one of these options you will see a dialog box as in the graphic below. You select the files you wish to PUT or GET one at a time, and click on ADD. When you have finished selecting them all, click on DONE.

.


When you click on DONE, you will see the following graphic. If it is set correctly with Text Files: as TEXT and Other Files: as RAW DATA, then click OK and all the files will be transferred. Unfortunately, you will have to go in one by one and set the permissions. The "Set upload permissions" doesn't seem to work on newton.



Well, briefly, that is all there is to it. If you have trouble ask one of the Lab Coordinators to help you, or give a call to the Jones Center at x4965.

Happy FTPing!!!!!