SSLFTPClientAuth(SSLFTPSSLVersion, 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 minSsl,
SSLFTPSSLVersion maxSsl,
bool secureDataChannels
)
Public Sub Auth (
minSsl As SSLFTPSSLVersion,
maxSsl As SSLFTPSSLVersion,
secureDataChannels As Boolean
)
public:
void Auth(
SSLFTPSSLVersion minSsl,
SSLFTPSSLVersion maxSsl,
bool secureDataChannels
)
member Auth :
minSsl : SSLFTPSSLVersion *
maxSsl : SSLFTPSSLVersion *
secureDataChannels : bool -> unit
Parameters
- minSsl SSLFTPSSLVersion
- Minimum version of SSL to use
- maxSsl SSLFTPSSLVersion
- Maximum 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).