SSLFTPClientAuth(SSLFTPSSLVersion, Boolean) Method
Switches the control-channel (the connection which carries commands)
to secure mode.
Namespace: EnterpriseDT.Net.Ftp.SslAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public void Auth(
SSLFTPSSLVersion sslVersion,
bool secureDataChannels
)
Public Sub Auth (
sslVersion As SSLFTPSSLVersion,
secureDataChannels As Boolean
)
public:
void Auth(
SSLFTPSSLVersion sslVersion,
bool secureDataChannels
)
member Auth :
sslVersion : SSLFTPSSLVersion *
secureDataChannels : bool -> unit
Parameters
- sslVersion SSLFTPSSLVersion
- Minimum version of SSL to use
- secureDataChannels Boolean
- Flag instructing whether or not to
secure the data-channels.
If this command succeeds, then all subsequent
commands and their corresponding replies will be secure.
If secureDataChannels is true thenthe client will also
switch to private (i.e. secure) data channels immediately after a connection
is made. It does this by invoking Pbsz(0) and
Prot(SSLFTPClient.DataProtectionType.Private).