
86 Networking Explained, Second Edition
TABLE 3.8 Commonly Used FTP Commands
Command Syntax Description
get remotefile [localfile]
Transfers one file from the remote host to the local host
(i.e., we get a file). If used with the optional argument,
localfile, then the file is stored on the receiving host with
the name, localfile. If the optional argument is not
specified, then the transferred file is given the same name
on the receiving host as it has on the sending host.
mget remotefile-1 ... remotefile-n Transfers multiple files from remote host to local host.
put localfile [remotefile]
Transfers one file from the local host to the remote host
(i.e., we put ...