Essential ftp Commands
Table 29–3 Essential ftp Commands
Command |
Description |
---|---|
ftp |
Accesses the ftp command interpreter. |
ftp remote-system |
Establishes an ftp connection to a remote system. For instructions, see How to Open an ftp Connection to a Remote System. |
open |
Logs in to the remote system from the command interpreter. |
close |
Logs out of the remote system and returns to the command interpreter. |
bye |
Quits the ftp command interpreter. |
help |
Lists all ftp commands or, if a command name is supplied, briefly describes what the command does. |
reset |
Re-synchronizes the command-reply sequencing with the remote ftp server. |
ls |
Lists the contents of the remote working directory. |
pwd |
Displays the name of the remote working directory. |
cd |
Changes the remote working directory. |
lcd |
Changes the local working directory. |
mkdir |
Creates a directory on the remote system. |
rmdir |
Deletes a directory on the remote system. |
get, mget |
Copies a file (or multiple files) from the remote working directory to the local working directory. |
put, mput |
Copies a file (or multiple files) from the local working directory to the remote working directory. |
delete, mdelete |
Deletes a file (or multiple files) from the remote working directory. |