Command Aliases
A connection to an FTP server for
transferring data must be done through the use of a client. The client may seemingly
use a different set of commands than the server, but these commands are only a type of shorthand
for actual commands called Command Aliases.
For Instance the command LIST is often shortened in many clients to ls.
This is done to simplify complex tasks on the server. When you send the command ls
the client actually sends the command LIST which is what the server recognizes. These
command aliases vary from client to client. So for clarity we will only concern ourselves
with Actual Commands.
Here is a list of common Command aliases contained in many Clients and their equivalents:
- ! - QUIT
- append - APPE
- ascii - TYPE A
- binary - TYPE I
- bye - QUIT
- cd - CWD
- close - REIN
- delete - DELE
- dir - LIST
- disconnect - REIN
- get - RETR
- lcd - LCD
- literal - QUOTE
- ls - NLIST
- mdelete - DELE (used to automate the deletion of multiple files)
- mdir - LIST (list contents of multiple directories)
- mget - RETR (used to automate the retrieval of multiple files)
- mkdir - MKD
- mls - LIST (list contents of multiple directories)
- mput - STOR (Stores multiple files)
- put - STOR
- pwd - PWD
- quit - QUIT
- quote -QUOTE
- recv - RETR
- remotehelp - HELP
- rename - RNFR & RNTO
- rmdir - RMD
- send - STOR
- status - STAT
- type - TYPE
- user - USER
|