Internet Direct (Indy) Version 9.0.1 Beta
|
property Passive: boolean;
If Passive is set to False, the PORT method is used. In this method, TIdFTP uses the TIdSimpleServer to listen for a data connection which is established by the server and the PORT command tells the server where to connect to TIdFTP.
If Passive is set to True, the PASV method is used. In this method, TIdFTP issues the PASV command and the server tells TIdFTP where to establish the data connection. TIdFTP than connects to the server where the server indicated using TIdTCPClient. This method is sometimes used with some proxy configurations. However, some proxy configurations require PORT transfers and some FTP servers do not support PASV transfers.