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.