CommandReceived Event
Signals that a command has been received from the client.
Syntax
class FTPServerCommandReceivedEventParams { public: qint64 ConnectionID(); const QString &Command(); const QString &Parameters(); bool Ignore(); void SetIgnore(bool bIgnore); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void CommandReceived(FTPServerCommandReceivedEventParams *e);
// Or, subclass FTPServer and override this emitter function. virtual int FireCommandReceived(FTPServerCommandReceivedEventParams *e) {...}
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.