Discuss this help topic in SecureBlackbox Forum

FTPS: Configure and use SSL/TLS

To use SSL/TLS with FTP(S), you need to do the following:

  1. Before opening connection, set UseSSL property of TElSimpleFTPSClient class to true. Also, you need to specify the way authentication is performed using AuthCmd property of TElSimpleFTPSClient class. Possible choices are in depth described in RFC 4217.
    To specify, if a data channel is encrypted or not, use EncryptDataChannel property of TElSimpleFTPSClient class.
  2. Specify SSL/TLS mode using SSLMode property of TElSimpleFTPSClient class. FTP supports 2 modes -- so-called explicit and implicit SSL. With implicit SSL, the SSL/TLS communication is established before FTP protocol connection and all FTP protocol communications go via encrypted channel. With explicit SSL the SSL/TLS connection is initiated during login (when Login() method is called).
  3. Setup SSL-specific properties and events, as described in the corresponding how-to article.
  4. Configure TElSimpleFTPSClient.EncryptDataChannel property, which specifies security setings for the data channel. If this property value is True the channel used for data transfer (files, directory listings) will be encrypted, otherwise only command channel will be encrypted.
  5. Optionally, after logging in, you can use TElSimpleFTPSClient.ClearCommandChannel() method to change the command channel to non-encrypted state.

How To articles about client-side FTPS questions

Discuss this help topic in SecureBlackbox Forum