Use the ClearDataConnection property to specify whether the data channel should be encrypted or not when using FTP over SSL.
long Object.ClearDataConnection
True |
Your login is encrypted but data transfers are not. This is the default. |
False |
Your login and data transfers are encrypted. |
Set MySite = CreateObject("CuteFTPPro.TEConnection")
MySite.Protocol = "FTPS"
MySite.ClearDataConnection = false ‘encrypt FTP data channel
The default is true (encrypted), so only set this property if you wish to log in securely but transfer data in the clear.
This property will only work if the remote server supports SSL and clear data channel connections (PROT C command according to RFC 2228) and you have specified FTPS as the protocol type.