Discuss this help topic in SecureBlackbox Forum

TElSftpClient.OnTransferCompleted

TElSftpClient     


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


This event is fired to notify that read/write operation has been completed

Declaration

[C#]
    event TSBSftpTransferCompletedEvent OnTransferCompleted;
    delegate void TSBSftpTransferCompletedEvent(Object Sender, int Count);

[VB.NET]
    Event OnTransferCompleted As TSBSftpTransferCompletedEvent
    Delegate Sub TSBSftpTransferCompletedEvent(ByVal Sender As Object, ByVal Count As Integer)

[Pascal]
    property OnTransferCompleted: TSBSftpTransferCompletedEvent;
    TSBSftpTransferCompletedEvent = procedure(Sender : TObject; Count : integer) of object;

[C++]
    void get_OnTransferCompleted(TSBSftpTransferCompletedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnTransferCompleted(TSBSftpTransferCompletedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpTransferCompletedEvent)(void * _ObjectData, TObjectHandle Sender, int32_t Count);

[PHP]
    TSBSftpTransferCompletedEvent|callable|NULL get_OnTransferCompleted()
    void set_OnTransferCompleted(TSBSftpTransferCompletedEvent|callable|NULL $Value)
    callable TSBSftpTransferCompletedEvent(TObject $Sender, integer $Count)

[Java]
    TSBSftpTransferCompletedEvent getOnTransferCompleted();
    void setOnTransferCompleted(TSBSftpTransferCompletedEvent Value);
    TSBSftpTransferCompletedEvent.Callback OnTransferCompleted = new TSBSftpTransferCompletedEvent.Callback() {
        public void TSBSftpTransferCompletedEventCallback(TObject Sender, int Count) {
            //...
        }
    }

Parameters

  • Count - the number of transferred bytes

Description

    This event is fired by TElSftpClient to notify that read/write operation has been completed and the application should not expect more data.

Discuss this help topic in SecureBlackbox Forum