Progress Event
Reports the data transfer progress.
Syntax
ANSI (Cross Platform) virtual int FireProgress(FTPClientProgressEventParams *e);
typedef struct {
int64 Total;
int64 Current;
int Cancel; int reserved; } FTPClientProgressEventParams; Unicode (Windows) virtual INT FireProgress(FTPClientProgressEventParams *e);
typedef struct {
LONG64 Total;
LONG64 Current;
BOOL Cancel; INT reserved; } FTPClientProgressEventParams;
- (void)onProgress:(long long)total :(long long)current :(int*)cancel;
#define EID_FTPCLIENT_PROGRESS 10 virtual INT SECUREBLACKBOX_CALL FireProgress(LONG64 &lTotal, LONG64 &lCurrent, BOOL &bCancel);
Remarks
This event fires periodically during a file transfer operation to report its progress.
Use the Cancel parameter to terminate the transfer if needed.