Discuss this help topic in SecureBlackbox Forum

TElSftpClient.OnVersionSelect

TElSftpClient     See also     


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


This event is fired when the versions re-negotiation is requested.

Declaration

[C#/Java]
    event TSBSftpVersionSelectEvent OnVersionSelect;
    delegate void TSBSftpVersionSelectEvent(object Sender, TSBSftpVersions Versions, ref TSBSftpVersion Version);
    
    TSBSftpVersions = short;
    TSBSftpVersions represents a bit mask which contains zero or more bit flags as defined by TSBSftpVersion

[VB.NET]
    Event OnVersionSelect As TSBSftpVersionSelectEvent
    Delegate Sub TSBSftpVersionSelectEvent(ByVal Sender As Object, ByVal Versions As TSBSftpVersions, ByRef Version As TSBSftpVersion)
    
    TSBSftpVersions As SmallInt
    TSBSftpVersions represents a bit mask which contains zero or more bit flags as defined by TSBSftpVersion

[Pascal]
    property OnVersionSelect : TSBSftpVersionSelectEvent;
    TSBSftpVersionSelectEvent = procedure(Sender : TObject; Versions : TSBSftpVersions; var Version : TSBSftpVersion) of object;
    TSBSftpVersions = set of TSBSftpVersion;

[C++]
    void get_OnVersionSelect(TSBSftpVersionSelectEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnVersionSelect(TSBSftpVersionSelectEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpVersionSelectEvent)(void * _ObjectData, TObjectHandle Sender, TSBSftpVersionsRaw Versions, TSBSftpVersionRaw &Version);

[PHP]
    TSBSftpVersionSelectEvent|callable|NULL get_OnVersionSelect()
    void set_OnVersionSelect(TSBSftpVersionSelectEvent|callable|NULL $Value)
    callable TSBSftpVersionSelectEvent(TObject $Sender, integer $Versions, integer &$Version)

Parameters

  • Versions - versions supported by server
  • Version - new version

Values:


Description

    This event is fired by TElSftpClient when the version re-negotiation is requested.

See also:     Version     Versions    

Discuss this help topic in SecureBlackbox Forum