11.C.2: transferring Individual Files | 11: Multiple Machines |
11.C:
Using ftp
|
Contents |
Once you've set up an ftp connection, you can use a variety of
subcommands to help get your file transfer right. To see a list of the
available subcommands (while in an ftp session), enter
?
followed by a return:
ftp> ?
Commands may be abbreviated. Commands are:
! debug mget pwd site
$ dir mkdir quit size
account disconnect mls quote status
append form mode recv struct
ascii get modtime remotehelp sunique
bell glob mput rstatus system
binary hash nmap rhelp tenex
bye help nlist rename trace
case image ntrans reget type
cd lcd open restart user
cdup ls prompt reset verbose
close macdef proxy rmdir ?
cr mdelete sendport runique
delete mdir put send
Some of these subcommands are the familiar ones you learned about in Managing Files and Directories. So, as usual, you use the cd and ls subcommands to move around and see what's there.
To get more information about a particular subcommand, such as get, ask for help:
> help get
To gain some experience, after checking where we are,
we create a backup directory on ucs and
cd
to it:
ftp> pwd
ftp> mkdir backup-cluster