Discuss this help topic in SecureBlackbox Forum


TElSimpleFTPSClient     See also     

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

This event reports the result of particular file operation within a multi-file operation.


    event TElFTPFileOperationResultEvent OnFileOperationResult;
    delegate void TElFTPFileOperationResultEvent(Object Sender, TSBFtpFileOperation Operation, string RemotePath, string LocalPath, int ErrorCode, string Comment, ref bool Cancel);

    Event OnFileOperationResult As TElFTPFileOperationResultEvent
    Delegate Sub TElFTPFileOperationResultEvent(ByVal Sender As Object, ByVal Operation As TSBFtpFileOperation, ByVal RemotePath As String, ByVal LocalPath As String, ByVal ErrorCode As Integer, ByVal Comment As String, ByRef Cancel As Boolean)

    property OnFileOperationResult : TElFTPFileOperationResultEvent
    TElFTPFileOperationResultEvent = procedure(Sender : TObject; Operation As TSBFtpFileOperation, const RemotePath, LocalPath : string; ErrorCode : integer; const Comment : string; var Cancel : boolean) of object;

    void get_OnFileOperationResult(TElFTPFileOperationResultEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFileOperationResult(TElFTPFileOperationResultEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TElFTPFileOperationResultEvent)(void * _ObjectData, TObjectHandle Sender, TSBFtpFileOperationRaw Operation, const char * pcRemotePath, int32_t szRemotePath, const char * pcLocalPath, int32_t szLocalPath, int32_t ErrorCode, const char * pcComment, int32_t szComment, int8_t &Cancel);

    TElFTPFileOperationResultEvent|callable|NULL get_OnFileOperationResult()
    void set_OnFileOperationResult(TElFTPFileOperationResultEvent|callable|NULL $Value)
    callable TElFTPFileOperationResultEvent(TObject $Sender, integer $Operation, string $RemotePath, string $LocalPath, integer $ErrorCode, string $Comment, bool &$Cancel)


  • Operation - the operation to be performed on the file.
  • RemotePath - specifies the name and path to the remote file.
  • LocalPath - specifies the name and path to the local file.
  • ErrorCode - operation error code.
  • Comment - error comment.
  • Cancel - allows to cancel the operation.
  • pcRemotePath - specifies the name and path to the remote file.
  • szRemotePath - the length of pcRemotePath.
  • pcLocalPath - specifies the name and path to the local file.
  • szLocalPath - the length of pcLocalPath.
  • pcComment - error comment.
  • szComment - the length of pcComment.



    This event is fired by TElSimpleFTPSClient when file operation on particular file in a multi-file operation DownloadFiles or UploadFiles is finished.

See also:     OnFileOperation     DownloadFiles     UploadFiles    

Discuss this help topic in SecureBlackbox Forum