Programming with FTP OLE Automation

image\rwnprg32.gif TLSEncryptionStrength property

 

Syntax

Object.TLSEncryptionStrength
Object.
TLSEncryptionStrength = Value

Data type

Short

 

Description

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.

Values

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.

FTP Script SET Parameter Equivalent

None