SecureBlackbox 2020 Java Edition

Questions / Feedback?

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.

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