property UsePassive: boolean; default False;
The UsePassive property indicates how the data channel connection for a FTP session is established.
UsePassive is used when uploading and downloading files, as well as when obtaining a list of files.
When UsePassive is True the FTP server will listen for the FTP client to connect on a data port specified in the response to the FTP 'PASV' or 'EPSV' commands. 'EPSV' is used when IsUsedExtendedDataAddress is True.
When UsePassive is False the FTP client will listen to the FTP server to connect on a data port specified in the FTP 'PORT' or 'EPRT' commands. 'EPRT' is used when IsUsedExtendedDataAddress is True. In this mode the DataIP and DataPort properties determine the address where a FTP client will listen to the server. The ListenTimeout property determines the time interval during which the client will actively listen for a server connection.
The default value is False.