SecureBlackbox 2020 C++ Edition

Questions / Feedback?

FileOperation Event

Marks the start of a file transfer.

Syntax

ANSI (Cross Platform)
virtual int FireFileOperation(FTPClientFileOperationEventParams *e);
typedef struct {
int Operation;
const char *RemotePath;
const char *LocalPath;
int Skip;
int Cancel; int reserved; } FTPClientFileOperationEventParams; Unicode (Windows) virtual INT FireFileOperation(FTPClientFileOperationEventParams *e);
typedef struct {
INT Operation;
LPCWSTR RemotePath;
LPCWSTR LocalPath;
BOOL Skip;
BOOL Cancel; INT reserved; } FTPClientFileOperationEventParams;
- (void)onFileOperation:(int)operation :(NSString*)remotePath :(NSString*)localPath :(int*)skip :(int*)cancel;
#define EID_FTPCLIENT_FILEOPERATION 6

virtual INT SECUREBLACKBOX_CALL FireFileOperation(INT &iOperation, LPSTR &lpszRemotePath, LPSTR &lpszLocalPath, BOOL &bSkip, BOOL &bCancel);

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