Previous Menu


18-00

FTP Overview


18-01

FTP or File Transfer Protocol is a utility to move files between machines on the internet. With it you can get or put programs, images, or files.


18-02

The FTP client communicates across internet to a FTP server on another machine.


18-03

FTP uses a communication channel to send your requests to the server and a data channel to transfer data.

You can move through directories, list directories, and upload/download files using FTP commands.


18-04

Files stored on FTP servers are often in standard formats to facilitate transfer. This picture shows some of the more common formats and the processes necessary to convert the files to a usable format.


18-05

Various types of FTP clients exist, both GUI and text based. Popular GUI clients are Fetch (for Macintosh) and WSFTP or CuteFTP for windows based PC's.


19-00

Using GUI FTP clients.


19-01

This is WS-FTP running on a PC under Windows. Specify the host name and user ID and then press OK. For most public FTP sites click the Anonymous Login toggle and WS-FTP will log into the Anonymous ftp account. Use your E-mail address for a password.


19-02

The left side of the screen shows your system, the right side shows the remote system. Directories are in the upper windows, files are in the lower windows. Click on a file or directory to select it.

In this example we select the ecbasic directory and enter it by double clicking on it.


19-03

A list of the files in the ecbasic directory is shown. Select the file you want (00readme.txt in this case), select the transfer mode (ascii in this case), and press the <- button to transfer from the remote system to the local system.


19-04


Here you can see that we have transferred 00readme.txt and manual.doc. The file ws_ftp.log is a file logging the transactions you have done.

We are now selecting the file rbas.zip. Since a file with a .zip extension is binary, we must specify the binary mode transfer.

Generally, when in doubt, select binary.

19-05

We have transferred all the files we want. Click the close button to disconnect from the remote site or press exit if you're done FTPing.


20-00

The text version of FTP has the same functionality as the GUI version, but a more cumbersome interface.


20-01

We start a session by typing:

ftp ftp.remote.site.name
If/when the remote system responds it will prompt for a login name; use anonymous (some systems allow "ftp" as a login name if you can't remember how to spell anonymous). When the password prompt appears enter your E-mail address as the password. Note that you may be refused access on before the login prompt, between the login and password, or after the password. Many remote ftp servers have downtime or user limits.

After you have successfully logged in you can use the "dir" command to examine you file and directory choices. To enter a directory use:

cd dirname


20-02

In the directory listing you can see the file names, file dates, and size of file. Most, but not all systems provide directory information in this format.


20-03

To transfer a file to your system, use:

get filename
To specify an ascii file transfer mode type the command "ascii". To specify a binary transfer mode use the "binary" command. Default transfer modes seem to always be the wrong thing, so assume the worst and always specify the transfer mode prior to getting a file. Note that "ascii" and "binary" are toggles, so once you are in binary mode you stay there until you switch back (or exit).

When you're done, use the "quit" command to exit ftp.


21-00

The real key to using FTP is finding the sites to download from. There are various World Wide Web sites for doing file searches, and then there is ARCHIE.


21-01

This is the ARCHIE client for Windows. It's purpose is to search the network databases for the file name you specify. You can search for all or part of the file name, but it doesn't search for keywords or functional descriptions.

Select the archive site you want to search. These are very busy, so you may need to search around for one that will answer you.


21-02

Specify the filename you are searching for and press the "Search" button.


21-03

Archie will return a list of public FTP sites where the file might be found (things change quickly out there, so don't be suprised if the database is out of date). When you click on a site Archie will show you the subdirectories on that site. When you select a file Archie displays information about that file.


21-04

By selecting "retrieve" from the file menu, you can direct Archie to download (using FTP) the file you have selected.


22-00


22-01

As we showed earlier there are a number of standard file formats used on public FTP sites. Many of these require you to do some sort of "post-processing" before you can use the file. For the Macintosh you probably want "Stuffit Expander", and for the PC you want PKunzip or it's non-commercial cousin unzip.


22-02

Aside from providing programs, FTP can be used to share data in a research environment. By making your data available on a ftp site you can allow other researchers to use that data.



Next Menu