Programming with FTP OLE Automation
TLSEncryptionStrength property
Syntax |
Object.TLSEncryptionStrength |
Data type |
Short |
Returns (first syntax line) or specifies (second syntax line) the encryption strength for SSL/TLS encryption.
If UseTLS is set to False, this property is ignored.
Valid values are:
Value |
Encryption stength required for connection |
0 |
Use strongest supported by host and PC |
40 |
40 bit |
56 |
56 bit |
128 |
128 bit |
168 |
168 bit |
The default value is 0 (zero), which specifies that the encryption strength will be established by the host and the Reflection FTP Client during handshaking, using the strongest encryption level supported by both the host and the PC.
If you set the encryption strength to any of the non-zero values listed above, the server must support this encryption level. If the server does not support this level, the connection will not be established.
If you set the encryption strength to an invalid value, the FTP Client reverts to 0 (zero), and establishes a connection using the strongest encryption available.
None