Discuss this help topic in SecureBlackbox Forum

TElSftpClient.OnSuccess

TElSftpClient     See also     


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


This event is fired when the last operation was completed successfully.

Declaration

[C#]
    event TSBSftpSuccessEvent OnSuccess;
    delegate void TSBSftpSuccessEvent(Object Sender, string Comment);

[VB.NET]
    Event OnSuccess As TSBSftpSuccessEvent
    Delegate Sub TSBSftpSuccessEvent(ByVal Sender As Object, ByVal Comment As String)

[Pascal]
    property OnSuccess : TSBSftpSuccessEvent;
    TSBSftpSuccessEvent = procedure (Sender: TObject; Comment : string) of object;

[C++]
    void get_OnSuccess(TSBSftpSuccessEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSuccess(TSBSftpSuccessEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSftpSuccessEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcComment, int32_t szComment);

[PHP]
    TSBSftpSuccessEvent|callable|NULL get_OnSuccess()
    void set_OnSuccess(TSBSftpSuccessEvent|callable|NULL $Value)
    callable TSBSftpSuccessEvent(TObject $Sender, string $Comment)

[Java]
    TSBSftpSuccessEvent getOnSuccess();
    void setOnSuccess(TSBSftpSuccessEvent Value);
    TSBSftpSuccessEvent.Callback OnSuccess = new TSBSftpSuccessEvent.Callback() {
        public void TSBSftpSuccessEventCallback(TObject Sender, String Comment) {
            //...
        }
    }

Parameters

  • Comment - server comment
  • pcComment - server comment
  • szComment - the length of pcComment.

Description

    This event is fired by TElSftpClient when the server notifies that the last operation was completed successfully. The Comment parameter specifies the server comment in user-friendly form.

See also:     OnError    

Discuss this help topic in SecureBlackbox Forum