SecureBlackbox Lite 2020 Qt Edition

Questions / Feedback?

FileOperationResult Event

Signifies the completion of a file transfer operation.

Syntax

class SFTPClientFileOperationResultEventParams {
public:
  int Operation();
  const QString &RemotePath();
  const QString &LocalPath();
  int ErrorCode();
  const QString &Comment();
  bool Cancel();
  void SetCancel(bool bCancel);
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void FileOperationResult(SFTPClientFileOperationResultEventParams *e);
// Or, subclass SFTPClient and override this emitter function. virtual int FireFileOperationResult(SFTPClientFileOperationResultEventParams *e) {...}

Remarks

This event is fired each time the class completes a file transfer within a multi-file call. Operation defines the operation performed on the file, RemotePath specifies the name and path to the remote file, and LocalPath specifies the name and path to the local file.

ErrorCode and Comment return the code and textual description of the error, if it was encountered.

Set Cancel to True to cancel the multi-file operation.

Supported operations:

csfoDownloadFile0Download file

csfoUploadFile1Upload file

csfoDeleteFile2Delete file

csfoMakeDir3Make directory

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Qt Edition - Version 20.0 [Build 8166]