Last updated: April 2, 2002
Many ftp programs are available, some provide GUIs and some are good old-fashioned command line interfaces. This page explains how to use good old-fashioned command line interface versions of ftp. In it, you will learn how to transfer single files
Some GUI-based ftp programs change the case of filenames when they perform the transfer. DO NOT USE ANY FTP PROGRAM THAT WILL CHANGE THE CASE OF FILENAMES. |
Use the following technique to transfer a whole bunch of files. For example, the following demonstrates how to transfer an entire directory of FrameMaker source files.
cd c:\mybook
C:\mybook> ftp boreal Connected to boreal.divine.com. 220 boreal FTP server (SunOS 5.7) ready. User (boreal.divine.com:(none)): fscott 331 Password required for fscott. Password: 230 User fscott logged in. ftp>
Ask one of the writers for the password, if you don't know it.
ftp> cd /udir/fscott/BooksInProgress_FramemakerSources/CSEE4.1/DevGuide
Note: If the appropriate directory doesn't yet exist, you must first create it. You can create it from ftp by using the mkdir command, for example:
ftp> mkdir /udir/fscott/BooksInProgress_FramemakerSources/CSEE4.1/DevGuide
ftp> binary
ftp> prompt off
ftp> mput *
ftp> quit
The following technique will transfer a single file, such as a PDF file to the doc repository:
cd c:\mybook
C:\mybook> ftp boreal Connected to boreal.divine.com. 220 boreal FTP server (SunOS 5.7) ready. User (boreal.divine.com:(none)): fscott 331 Password required for fscott. Password: 230 User fscott logged in. ftp>
Ask one of the writers for the password, if you don't know it.
ftp> cd /udir/fscott/BooksInProgress_HTMLandPDF/pdf/CSEE4.1
Note: If the appropriate directory doesn't yet exist, you must first create it. You can create it from ftp by using the mkdir command, for example:
ftp> mkdir /udir/fscott/BooksInProgress_HTMLandPDF/pdf/CSEE4.1
ftp> binary
ftp> put MyGuide.pdf
ftp> quit