Discuss this help topic in SecureBlackbox Forum
This property specifies SFTP versions which can be used during the connection
Declaration
Values:
|
TSBSftpVersions values
|
Description
Use this property to specify SFTP versions which can be used during the connection. Set this property before connection establishing.
Note, protocol version assigning differs for VCL and .NET versions. To enable several Sftp versions in .NET use bitwise OR operation, for example "sbSFTP3 | sbSFTP4".
Example: The following shows how to set the property for different SecureBlackbox editions:
TElSimpleSFTPClient.Versions = SBSftpCommon.Unit.sbSFTP4 | SBSftpCommon.Unit.sbSFTP5 | SBSftpCommon.Unit.sbSFTP6;
TElSimpleSFTPClient.Versions = SBSftpCommon.Unit.sbSFTP4 Or SBSftpCommon.Unit.sbSFTP5 Or SBSftpCommon.Unit.sbSFTP6
TElSimpleSFTPClient.Versions := sbSFTP4 or sbSFTP5 or sbSFTP6;