Data connection type, default is AutoPassive which tries
a connection with EPSV first and if it fails then tries
PASV before giving up. If you know exactly which kind of
connection you need you can slightly increase performance
by defining a speicific type of passive or active data
connection here.
Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461
Syntax
C# |
---|
public FtpDataConnectionType DataConnectionType { get; set; } |
Visual Basic |
---|
Public Property DataConnectionType As FtpDataConnectionType
Get
Set |
Visual C++ |
---|
public:
virtual property FtpDataConnectionType DataConnectionType {
FtpDataConnectionType get () sealed;
void set (FtpDataConnectionType value) sealed;
} |
Property Value
Type:
FtpDataConnectionTypeImplements
IFtpClient..::..DataConnectionType
See Also