Gets or sets a value which specifies the way data transfers are made. This is used only when FTP protocol is used.
Namespace:
Rebex.Net
Assembly:
Rebex.FileTransfer (in Rebex.FileTransfer.dll)
Syntax
Visual Basic |
---|
Public Property FtpPassiveMode As Boolean Get Set |
C# |
---|
public bool FtpPassiveMode { get; set; } |
Field Value
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.