Book Image

Understanding TCP/IP

By : CP Books a.s.
Book Image

Understanding TCP/IP

By: CP Books a.s.

Overview of this book

This book covers in detail the Open System Interconnection (OSI) reference model and the TCP/IP protocols that operate that different layers. Its coverage includes various application protocols. The authors explain in an easy-to-read style networking concepts and protocols, with examples that make the book a practical guide in addition to its coverage of theory.
Table of Contents (20 chapters)
19
Index

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 an account name, which can be used for accessing some data.

CWD

cd

Change working directory (at server)

CDUP

cdup

Parent directory will by set as working directory (at server).

SMNT path

File system mount.

FTP Command (transferred by network...