Discuss this help topic in SecureBlackbox Forum

TElSftpClient.OnAvailableSpace

TElSftpClient     


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


This event is fired when the server returns information about available space.

Declaration

[C#]
    event TSBSftpAvailableSpaceEvent OnAvailableSpace;
    delegate void TSBSftpAvailableSpaceEvent(Object Sender, TElSftpSpaceAvailableReply AvailSpace);

[VB.NET]
    Event OnAvailableSpace As TSBSftpAvailableSpaceEvent
    Delegate Sub TSBSftpAvailableSpaceEvent(ByVal Sender As Object, ByVal AvailSpace As TElSftpSpaceAvailableReply)

[Pascal]
    property OnAvailableSpace : TSBSftpAvailableSpaceEvent;
    TSBSftpAvailableSpaceEvent = procedure (Sender: TObject; AvailSpace : TElSFTPSpaceAvailableReply) of object;

[C++]
    void get_OnAvailableSpace(TSBSftpAvailableSpaceEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAvailableSpace(TSBSftpAvailableSpaceEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpAvailableSpaceEvent)(void * _ObjectData, TObjectHandle Sender, TElSftpSpaceAvailableReplyHandle AvailSpace);

[PHP]
    TSBSftpAvailableSpaceEvent|callable|NULL get_OnAvailableSpace()
    void set_OnAvailableSpace(TSBSftpAvailableSpaceEvent|callable|NULL $Value)
    callable TSBSftpAvailableSpaceEvent(TObject $Sender, TElSftpSpaceAvailableReply $AvailSpace)

[Java]
    TSBSftpAvailableSpaceEvent getOnAvailableSpace();
    void setOnAvailableSpace(TSBSftpAvailableSpaceEvent Value);
    TSBSftpAvailableSpaceEvent.Callback OnAvailableSpace = new TSBSftpAvailableSpaceEvent.Callback() {
        public void TSBSftpAvailableSpaceEventCallback(TObject Sender, TElSftpSpaceAvailableReply AvailSpace) {
            //...
        }
    }

Parameters

  • AvailSpace - object containing information about available storage space

Description

    This event is fired by TElSftpClient when SFTP server returns a reply to client's request QueryAvailableSpace.

Discuss this help topic in SecureBlackbox Forum