SecureBlackbox 2020 C++ Edition

Questions / Feedback?

TransferCompleted Event

This event is fired when a customized upload or download operation completes.

Syntax

ANSI (Cross Platform)
virtual int FireTransferCompleted(FTPServerTransferCompletedEventParams *e);
typedef struct {
int64 ConnectionID;
int OperationStatus; int reserved; } FTPServerTransferCompletedEventParams; Unicode (Windows) virtual INT FireTransferCompleted(FTPServerTransferCompletedEventParams *e);
typedef struct {
LONG64 ConnectionID;
INT OperationStatus; INT reserved; } FTPServerTransferCompletedEventParams;
- (void)onTransferCompleted:(long long)connectionID :(int*)operationStatus;
#define EID_FTPSERVER_TRANSFERCOMPLETED 38

virtual INT SECUREBLACKBOX_CALL FireTransferCompleted(LONG64 &lConnectionID, INT &iOperationStatus);

Remarks

This event is fired when a customized transfer operation completes. This event is only fired for operations handled by the user code, i.e. those intercepted with BeforeUploadFile or BeforeDownloadFile event, and with Action parameter set to fraCustom.

The ConnectionID parameter specifies the session to which the event belongs, and OperationStatus reports the outcome of the transfer operation.

ostOk1
ostNoSuchFile2
ostAccessDenied3
ostWriteProtect4
ostUnsupported5
ostInvalidParameter6
ostEOF7

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