Progress Event
Fires periodically during the data transfer.
Syntax
ANSI (Cross Platform) virtual int FireProgress(WebDAVClientProgressEventParams *e);
typedef struct {
int64 Total;
int64 Current;
int Cancel; int reserved; } WebDAVClientProgressEventParams; Unicode (Windows) virtual INT FireProgress(WebDAVClientProgressEventParams *e);
typedef struct {
LONG64 Total;
LONG64 Current;
BOOL Cancel; INT reserved; } WebDAVClientProgressEventParams;
- (void)onProgress:(long long)total :(long long)current :(int*)cancel;
#define EID_WEBDAVCLIENT_PROGRESS 7 virtual INT SECUREBLACKBOXLITE_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.