Ftp.Passive Property
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
Passive
Gets or sets a value which specifies the way data transfers are made.
Declaration
public bool Passive { 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 the transport layer doesn't support incoming connections, this property is ignored and all transfers are passive (for example when using HTTP CONNECT proxy).
Use DataPortRange to specify the local TCP port range used for data transfers.