Discuss this help topic in SecureBlackbox Forum

TElSftpClient.OnSuccess

TElSftpClient     See also     


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


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

Declaration

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

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