Discuss this help topic in SecureBlackbox Forum


TElSftpClient     See also     

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

This event is fired when the block of data is received from the server


    event TSBSftpDataEvent OnData;
    delegate void TSBSftpDataEvent(Object Sender, byte[] Buffer);

    Event OnData As TSBSftpDataEvent
    Delegate Sub TSBSftpDataEvent(ByVal Sender As Object, ByVal Buffer As Byte())

    property OnData : TSBSftpDataEvent;
    TSBSftpDataEvent = procedure (Sender: TObject; Buffer : pointer; Size : integer) of object;

    void get_OnData(TSBSftpDataEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnData(TSBSftpDataEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpDataEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

    TSBSftpDataEvent|callable|NULL get_OnData()
    void set_OnData(TSBSftpDataEvent|callable|NULL $Value)
    callable TSBSftpDataEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)


  • Buffer - reference to received data
  • Size - the size of Buffer in bytes


    This event is fired by TElSftpClient when new data are received and decrypted.

See also:     OnDirectoryListing     Read     SBB3Compatible    

Discuss this help topic in SecureBlackbox Forum