Extended Data Port (EPRT) - KB Article #1978Related Articles --
The EPRT command is issued by the client to initiate a data connection required to transfer data (such as directory listings or files) between the client and server. The PORT command is used during "active" mode transfers and its use is required during IPv6 active mode transfers.
When issuing the EPRT command, the client will include information on the address and port that the server is to use in order to connect back to the client. Thus, the structure of the EPRT command is clearly defined to allow servers to parse this information from the command. The structure of the EPRT command is: EPRT (|af|network address|Port|).
- AF - The AF indicates the version of Internet Protocol used by the connection. 1 represents IPv4, 2 represents IPv6.
- Network Address - The Network Address is the IP Address of the client, either IPv4 or IPv6 depending on the AF.
- Port - The port number for the server to connect on.