edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

SSLFTPClientAuth(SSLFTPSSLVersion, Boolean) Method

Switches the control-channel (the connection which carries commands) to secure mode.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssl
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public void Auth(
	SSLFTPSSLVersion sslVersion,
	bool secureDataChannels
)

Parameters

sslVersion  SSLFTPSSLVersion
Minimum version of SSL to use
secureDataChannels  Boolean
Flag instructing whether or not to secure the data-channels.

Remarks

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).

See Also