Discuss this help topic in SecureBlackbox Forum

TElSftpClient.OnVersionSelect

TElSftpClient     See also     


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


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

Declaration

[C#]
    event TSBSftpVersionSelectEvent OnVersionSelect;
    delegate void TSBSftpVersionSelectEvent(Object Sender, TSBSftpVersions Versions, ref TSBSftpVersion Version);

[VB.NET]
    Event OnVersionSelect As TSBSftpVersionSelectEvent
    Delegate Sub TSBSftpVersionSelectEvent(ByVal Sender As Object, ByVal Versions As TSBSftpVersions, ByRef Version As 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)

[Java]
    TSBSftpVersionSelectEvent getOnVersionSelect();
    void setOnVersionSelect(TSBSftpVersionSelectEvent Value);
    TSBSftpVersionSelectEvent.Callback OnVersionSelect = new TSBSftpVersionSelectEvent.Callback() {
        public short TSBSftpVersionSelectEventCallback(TObject Sender, short Versions, short Version) {
            //...
        }
    }

Parameters

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

Values:


TSBSftpVersionsRaw 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