SecureBlackbox 2020 C++ Edition

Questions / Feedback?

CommandProcessed Event

Signals that a command has been processed by the server.

Syntax

ANSI (Cross Platform)
virtual int FireCommandProcessed(FTPServerCommandProcessedEventParams *e);
typedef struct {
int64 ConnectionID;
const char *CurrentDirectory;
const char *Command;
int ReplyCode; int reserved; } FTPServerCommandProcessedEventParams; Unicode (Windows) virtual INT FireCommandProcessed(FTPServerCommandProcessedEventParams *e);
typedef struct {
LONG64 ConnectionID;
LPCWSTR CurrentDirectory;
LPCWSTR Command;
INT ReplyCode; INT reserved; } FTPServerCommandProcessedEventParams;
- (void)onCommandProcessed:(long long)connectionID :(NSString*)currentDirectory :(NSString*)command :(int)replyCode;
#define EID_FTPSERVER_COMMANDPROCESSED 21

virtual INT SECUREBLACKBOX_CALL FireCommandProcessed(LONG64 &lConnectionID, LPSTR &lpszCurrentDirectory, LPSTR &lpszCommand, INT &iReplyCode);

Remarks

The class fires this event to signal that a command has been processed by the server, and a reply code has been generated.

You can adjust the reply code and the textual comment associated with it in BeforeSendReply event handler.

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