CommandProcessed Event
Signals that a command has been processed by the server.
Syntax
public class DefaultFtpserverEventListener implements FtpserverEventListener { ... public void commandProcessed(FtpserverCommandProcessedEvent e) {} ... } public class FtpserverCommandProcessedEvent { public long connectionID; public String currentDirectory; public String command; public int replyCode; }
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.