CommandProcessed Event
Signals that a command has been processed by the server.
Syntax
type TCommandProcessedEvent = procedure ( Sender: TObject; ConnectionID: Int64; const CurrentDirectory: String; const Command: String; ReplyCode: Integer ) of Object;
property OnCommandProcessed: TCommandProcessedEvent read FOnCommandProcessed write FOnCommandProcessed;
Remarks
The component 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.