SecureBlackbox 2020 Java Edition

Questions / Feedback?

CommandReceived Event

Signals that a command has been received from the client.

Syntax

public class DefaultFtpserverEventListener implements FtpserverEventListener {
  ...
  public void commandReceived(FtpserverCommandReceivedEvent e) {}
  ...
}

public class FtpserverCommandReceivedEvent {
  public long connectionID;
  public String command;
  public String parameters;
  public boolean ignore;
}

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 Java Edition - Version 20.0 [Build 8156]