SecureBlackbox 2020 Qt Edition

Questions / Feedback?

FileOperation Event

Marks the start of a file transfer.

Syntax

class FTPClientFileOperationEventParams {
public:
  int Operation();
  const QString &RemotePath();
  const QString &LocalPath();
  bool Skip();
  void SetSkip(bool bSkip);
  bool Cancel();
  void SetCancel(bool bCancel);
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void FileOperation(FTPClientFileOperationEventParams *e);
// Or, subclass FTPClient and override this emitter function. virtual int FireFileOperation(FTPClientFileOperationEventParams *e) {...}

Remarks

The class fires this event from DownloadFiles and UploadFiles to notify the application that the transfer of the next file in the list is about to start.

Use the Skip parameter to skip this particular file, or Cancel to cancel the whole multi-file operation.

Operations:

cffoDownloadFile0Download file

cffoUploadFile1Upload file

cffoDeleteFile2Delete file

cffoMakeDir3Make directory

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