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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.