'Declaration Public Property PassiveTransfer As Boolean
'Usage Dim instance As FtpClient Dim value As Boolean instance.PassiveTransfer = value value = instance.PassiveTransfer
public bool PassiveTransfer {get; set;}
'Declaration Public Property PassiveTransfer As Boolean
'Usage Dim instance As FtpClient Dim value As Boolean instance.PassiveTransfer = value value = instance.PassiveTransfer
public bool PassiveTransfer {get; set;}
If set to true, the PASV command will be sent to the FTP server rather than the PORT command resulting in the FTP server "listening" on a data port (other than its default) and waiting for a data connection to be established by the FTP client. If set to false, the PORT command will be sent and the FTP client will be listening for an incoming data connection. The FTP server will establish the data connection upon receipt of a transfer command.
The reply to the PASV command includes the host and port address the FTP server is listening on.
This property is the equivalent of the PassiveMode property of the ActiveX version of the Xceed FTP Library.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2