Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSClient.OnBinaryData

TElSimpleFTPSClient     See also     


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


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

Declaration

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

[Java]
    TSBFTPSBinaryDataEvent getOnBinaryData();
    void setOnBinaryData(TSBFTPSBinaryDataEvent Value);
    TSBFTPSBinaryDataEvent.Callback OnBinaryData = new TSBFTPSBinaryDataEvent.Callback() {
        public void TSBFTPSBinaryDataEventCallback(TObject Sender, byte[] Data) {
            //...
        }
    }

Parameters

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

Description

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

See also:     OnTextDataLine     TransferType    

Discuss this help topic in SecureBlackbox Forum