The File Transfer Protocol (FTP)
,
The File Transfer Protocol (FTP) is another commonly used Application layer protocol. FTP was developed to allow for file transfers between a client and a server. An FTP client is an application that runs on a computer that is used to push and pull files from a server running the FTP daemon (FTPd).
To successfully transfer files, FTP requires two connections between the client and the server: one for commands and replies, the other for the actual file transfer.
The client establishes the first connection to the server on TCP port 21. This connection is used for control traffic, consisting of client commands and server replies.
The client establishes the second connection to the server over TCP port 20. This connection is for the actual file transfer and is created every time there is a file transferred.
The file transfer can happen in either direction. The client can download (pull) a file from the server or, the client can upload (push) a file to the server.
0 comments:
Post a Comment