Discuss this help topic in SecureBlackbox Forum

TElSFTPServer.Versions

TElSFTPServer     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This property specifies Sftp versions which can be used during the connection.

Declaration

[C#]
    TSBSftpVersions Versions;

[VB.NET]
    Property Versions As TSBSftpVersions

[Pascal]
    property Versions : TSBSftpVersions;
    TSBSftpVersions = set of TSBSftpVersion;

[C++]
    TSBSftpVersions get_Versions();
    void set_Versions(TSBSftpVersions Value);

[PHP]
    integer get_Versions()
    void set_Versions(integer $Value)

[Java]
    short getVersions();
    void setVersions(short Value);

Values

TSBSftpVersions values

Description

    Use this property to specify Sftp versions which can be used during the connection. Set this property before connection establishing.
   Default value is [sbSFTP0, sbSFTP1, sbSFTP2, sbSFTP3, sbSFTP4, sbSFTP5]

    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:

[C#]
    TElSFTPServer.Versions = SBSftpCommon.Unit.sbSFTP4 | SBSftpCommon.Unit.sbSFTP5 | SBSftpCommon.Unit.sbSFTP6;

[VB.NET]
    TElSFTPServer.Versions = SBSftpCommon.Unit.sbSFTP4 Or SBSftpCommon.Unit.sbSFTP5 Or SBSftpCommon.Unit.sbSFTP6

[Pascal]
    TElSFTPServer.Versions := sbSFTP4 or sbSFTP5 or sbSFTP6;

See also:     Version    

Discuss this help topic in SecureBlackbox Forum