SecureBlackbox 2020 C++ Edition

Questions / Feedback?

CommandReceived Event

Signals that a command has been received from the client.

Syntax

ANSI (Cross Platform)
virtual int FireCommandReceived(FTPServerCommandReceivedEventParams *e);
typedef struct {
int64 ConnectionID;
const char *Command;
const char *Parameters;
int Ignore; int reserved; } FTPServerCommandReceivedEventParams; Unicode (Windows) virtual INT FireCommandReceived(FTPServerCommandReceivedEventParams *e);
typedef struct {
LONG64 ConnectionID;
LPCWSTR Command;
LPCWSTR Parameters;
BOOL Ignore; INT reserved; } FTPServerCommandReceivedEventParams;
- (void)onCommandReceived:(long long)connectionID :(NSString*)command :(NSString*)parameters :(int*)ignore;
#define EID_FTPSERVER_COMMANDRECEIVED 22

virtual INT SECUREBLACKBOX_CALL FireCommandReceived(LONG64 &lConnectionID, LPSTR &lpszCommand, LPSTR &lpszParameters, BOOL &bIgnore);

Remarks

The class fires this event to notify the application of an incoming command. Set Ignore to True to stop the server from handling the command.

When the command has been processed, the server will report it via the CommandProcessed call.

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