Discuss this help topic in SecureBlackbox Forum

TElFTPSServer.OnTransferDataAvailable

TElFTPSServer     See also     


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


This event is fired when the data is available from client.

Declaration

[C#]
    event TSBSendEvent OnTransferDataAvailable;
    delegate void TSBSendEvent(Object Sender, byte[] Buffer);

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

[Pascal]
    property OnTransferDataAvailable : TSBSendEvent;
    TSBSendEvent = procedure (Sender: TObject; Buffer : Pointer; Size : LongInt) of object;

[C++]
    void get_OnTransferDataAvailable(TSBSendEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnTransferDataAvailable(TSBSendEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSendEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

[PHP]
    TSBSendEvent|callable|NULL get_OnTransferDataAvailable()
    void set_OnTransferDataAvailable(TSBSendEvent|callable|NULL $Value)
    callable TSBSendEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)

[Java]
    TSBSendEvent getOnTransferDataAvailable();
    void setOnTransferDataAvailable(TSBSendEvent Value);
    TSBSendEvent.Callback OnTransferDataAvailable = new TSBSendEvent.Callback() {
        public void TSBSendEventCallback(TObject arg0, byte[] arg1) {
            //...
        }
    }

Parameters

  • Buffer - the block of data received from client.
  • Size - the length of the buffer in bytes.

Description

    This event is fired by TElFTPSServer when data has been received from client. For example, if client wants to upload a file to the FTPS server, this event is fired when the data has been received.

See also:     OnDataSend     OnTransferDataNeeded     OnTransferProgress     OnTransferCompleted    

Discuss this help topic in SecureBlackbox Forum