Internet Direct (Indy) Version 9.0.2 Beta
TIdFTPServerThread.DataPort
Indicates the port number for the DataChannel in an FTP client connection.

property DataPort: Integer;
Description
DataPort is an Integer property that represents the port number used for the DataChannel for an FTP client connection. The default value for DataPort is 20, as required by the FTP protocol. DataPort can be updated in the command reply handler for the FTP PASV command, when the DataChannel is create and bound for listening for client connections.