property DataPort: integer; default 0;
Description
DataPort indicates the port number to use when binding the data channel for the FTP client session. If value is 0, it means that the data port is assigned when the data channel connection is bound.
DataIP with DataPort are used when uploading and downloading files, as well as when obtaining a list of files to create a data channel that actively listens for a server connection in non Passive mode. FTP client will send this port using the 'PORT' or 'EPRT' commands.
The default value is 0.
See Also