FileTransferClient.FtpPassiveMode Property
Namespace: Rebex.Net
Assembly: Rebex.FileTransfer.dll (version 7.0.9083)
FtpPassiveMode
Gets or sets a value which specifies the way data transfers are made. This is used only when FTP protocol is used.
Declaration
public bool FtpPassiveMode { get; set; }
Property Value
Type | Description |
---|---|
Boolean | The file transfer type. Default is true (passive). |
Remarks
Passive mode - data transfer connections are made by the client, which connects to the server.
Active mode - data transfer connections are made by the server, which connects to the client.
Firewalls and NATs often make it impossible to use active transfers.
When using HTTP CONNECT proxy, this property is ignored and all transfers are passive.