Discuss this help topic in SecureBlackbox Forum

TElAS3Client.OnBinaryData

TElAS3Client     See also     


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


This event is fired when the file is downloaded in binary mode

Declaration

[C#/Java]
    event TSBFTPSBinaryDataEvent OnBinaryData;
    delegate void TSBFTPSBinaryDataEvent(Object Sender, byte[] Data);

[VB.NET]
    Event OnBinaryData As TSBFTPSBinaryDataEvent
    Delegate Sub TSBFTPSBinaryDataEvent(ByVal Sender As Object, ByVal Data As Byte())

[Pascal]
    property OnBinaryData : TSBFTPSBinaryDataEvent
    TSBFTPSBinaryDataEvent = procedure(Sender : TObject; const Data : ByteArray) of object;

[C++]
    void get_OnBinaryData(TSBFTPSBinaryDataEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBinaryData(TSBFTPSBinaryDataEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBFTPSBinaryDataEvent)(void * _ObjectData, TObjectHandle Sender, const uint8_t pData[], int32_t szData);

[PHP]
    TSBFTPSBinaryDataEvent|callable|NULL get_OnBinaryData()
    void set_OnBinaryData(TSBFTPSBinaryDataEvent|callable|NULL $Value)
    callable TSBFTPSBinaryDataEvent(TObject $Sender, string $Data)

Parameters

  • Data - next portion of data from the server
  • pData -
  • szData - the length of pcData.

Description

    This event is fired by TElAS3Client consequently (thus returning the file data chunk by chunk), until the whole file is received.

See also:     OnTextDataLine     FTP    

Discuss this help topic in SecureBlackbox Forum