SecureBlackbox Lite 2020 Qt Edition

Questions / Feedback?

Progress Event

Fires periodically during the data transfer.

Syntax

class SFTPClientProgressEventParams {
public:
  qint64 Total();
  qint64 Current();
  bool Cancel();
  void SetCancel(bool bCancel);
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void Progress(SFTPClientProgressEventParams *e);
// Or, subclass SFTPClient and override this emitter function. virtual int FireProgress(SFTPClientProgressEventParams *e) {...}

Remarks

Use this event to check the progress of an upload or download operation. Total indicates the total number of bytes to be transferred; Current specifies how much data has been transferred so far, and Cancel gives you a chance to cancel the operation.

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