13.4 FTP Commands
Users usually use user programs like ftp.exe
. User programs have a user interface (generally a command line) that allow users to input user commands. The most fundamental function of a user program is converting a user command to an FTP command that is transmitted over a network. The FTP command always contains a keyword (for example, USER)
. This keyword can be followed by parameters separated by a space. The command is terminated with the CR (carriage return) and LF (new line) characters. FTP commands are always in ASCII.
FTP Command (transferred by network) |
Usual user command |
Description |
---|---|---|
USER username |
user |
Username. |
PASS password |
Password. | |
ACCT account |
account |
Apart from a username, some servers can also require ... |
Get Understanding TCP/IP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.