| United States-English |
|
|
|
![]() |
HP-UX IPFilter Version A.03.05.12 Administrator's Guide: HP-UX 11.0, HP-UX 11i version 1,HP-UX 11i version 2 > Chapter 6 IPFilter
and FTPFTP Basics |
|
The File Transfer Protocol (FTP) is a user-level protocol for transferring files between host computers. An FTP session involves two separate connections:
In active FTP, the client actively opens a connection to the FTP server at port 21. It uses a port number > 1023 as its port for the control connection. The client then opens a new port (passive open) as its data port and sends this port number across to the server using the PORT command. The server then opens a data connection (active open) to the data port specified in the PORT command of the client. The server uses port 20 as its data connection port. In passive FTP, the control connection is established the same as it is in active FTP. In passive FTP, to establish a data connection the server opens an arbitrary data port >1023. It uses the PASV command to send the data port number to the client. The client connects to the port specified by the PASV command and uses a different port >1023 as its data port. |
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||