Discuss this help topic in SecureBlackbox Forum

TElSftpClient.OnData

TElSftpClient     See also     


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


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

Declaration

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

[VB.NET]
    Event OnData As TSBSftpDataEvent
    Delegate Sub TSBSftpDataEvent(ByVal Sender As Object, ByVal Buffer As Byte())

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

[C++]
    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);

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

[Java]
    TSBSftpDataEvent getOnData();
    void setOnData(TSBSftpDataEvent Value);
    TSBSftpDataEvent.Callback OnData = new TSBSftpDataEvent.Callback() {
        public void TSBSftpDataEventCallback(TObject arg0, byte[] arg1) {
            //...
        }
    }

Parameters

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

Description

    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