File Transfer Protocol (FTP)
 

Home

 

Windows95
v. WindowsNT
MacOS    
UNIX   
Telnet    
FTP    

FTP programs allow you to transfer files and directories from/to your desktop system to/from a remote host like Unix. You will use these FTP programs to transfer image files, pdf files or other files to be linked to via the web page. 

The two programs used in Princeton are: Fetch for the MAC and WS_FTP for Windows systems. Again, you should be able to locate these programs in the "Information Access" folder of the user's computer. 

 

WS_ftp32

Open the Start menu, select Information Access, and select WS_ftp32 to start the program. Follow these steps to transfer between the PC and a remote host: 

To connect to a remote host: 

1.Enter a name for your session in the Profile Name field.
2.Enter the name of the machine you wish to connect to in the Host Name field (e.g., arizona, phoenix, etc.).
3.Select Automatic Detect for Host Type.
4.Enter your NetID in the User ID field (or see step 7).
5.Enter the password for the account you connecting to in the Password field (or see step 7).
6.Clear any entries in the Initial Directories fields.
7.If you are connecting to a public-access archive server, you may select Anonymous Login and login as a guest, with no passsword.
8.Click the OK button. The program will connect you to the account you have requested (assuming you have access to that account).
 

To transfer files: 

1.The left portion of the window is labeled Local System and displays the files and directories on your local computer. The right portion of the window is labeled Remote System and displays the files and directories of the account you have logged into. Navigating through the directory structure is done within these inner-windows by using the up-arrow to ascend in the file hierarchy or by double-clicking a directory to open it.
2.Transferring files simply requires you to locate the file you wish to transfer (either on your local machine or the remote account), then locate the location
you wish to transfer it to and have both of these open in the appropriate inner-window.
3.Highlight the file you wish to transfer and press the appropriate arrow (these arrows are between the inner windows and signal the flow of transfers).
4.When completed, you will see the transferred file in the new location.
For more information about more advanced features, use the Help menu at the bottom of the WS_ftp32 window. To leave WS_ftp32, click on the "Close" button, or choose "Exit" from the File menu. 

 

Fetch

Fetch is a standard ftp program for the MAC at Princeton. Use Fetch to transfer files between local machines and remote servers using the File Transfer Protocol (FTP). 

To connect to a remote host: 

1. If you are already using the Fetch program, choose New Connection… in File menu. If you just started the application, it should automatically open the "New Connection…" window. 

2. Enter the name for the remote host (such as arizona, phoenix, or ftp.netscape.com) in the "host" field. 

3. Enter your user ID in "User ID" field. 

4. Enter the password for the remote host you are connecting to in "Password" (Some FTP sites require a password, including your personal UNIX account on Princeton server. Others let you log on as "anonymous" user. In this case, type "anonymous" for your "user ID" and your e-mail address for "Password." 

5. You may select the initial directory for the remote server by typing it in "Directory" field. You may leave it blank. 

6. Click OK.

To upload files from your local machine to the server: 
1. Select the directory on the remote host to which the files will be uploaded. You may go up or down by clicking a folder icon on the directory (to go to the directory) or click a folder named ".." to go up. Or you may go up by more than one step by choosing the folder from the pulldown menu above the file list. 

2. Choose the file transfer mode at the bottom of the file list. Usually leave it at "automatic"; but some files must be transferred in a certain mode. For example, CGI scripts must be transferred in the ASCII mode. 

3. Press "Put File…" button. 

4. In the dialog box, choose the files to upload. Click OK. 

5. Here you can choose the file name on the remote server and the file format. For file format, select "text" for a text file; select "BinHex" for a compression using BinHex format (recommended for a large file); select "Mac Binary II" for Mac-executable file; select "Raw Data" otherwise. 

6. The transfer status is displayed on the right window as the files are transferred. 

To download files from the server to your local machine: 
1. Select the directory from which the files will be downloaded. (refer to 1 of the previous entry) 

2. Select the file to download by clicking on the icon. You may add to or subtract from the highlighted list by clicking on the icon while holding down the Command (apple) key. 

3. Choose the file transfer mode at the bottom of the file list. 

4. Press "Get Files…". 

5. In the dialog box, choose the folder on the local machine to which the files will be downloaded. You may change the name of the file to be saved on the local machine. Click Save.

When finished, make sure to disconnect by choosing Close in File menu, or simply clicking on a box to the top left of the ftp session window. 

That's all folks. 

-->Return to the Webfactory Home Page

  

Home