SecureBlackbox 2020 C++ Edition

Questions / Feedback?

Progress Event

Fires periodically during the data transfer.

Syntax

ANSI (Cross Platform)
virtual int FireProgress(SFTPClientProgressEventParams *e);
typedef struct {
int64 Total;
int64 Current;
int Cancel; int reserved; } SFTPClientProgressEventParams; Unicode (Windows) virtual INT FireProgress(SFTPClientProgressEventParams *e);
typedef struct {
LONG64 Total;
LONG64 Current;
BOOL Cancel; INT reserved; } SFTPClientProgressEventParams;
- (void)onProgress:(long long)total :(long long)current :(int*)cancel;
#define EID_SFTPCLIENT_PROGRESS 15

virtual INT SECUREBLACKBOX_CALL FireProgress(LONG64 &lTotal, LONG64 &lCurrent, BOOL &bCancel);

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 2020 C++ Edition - Version 20.0 [Build 8166]