SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

CommandProcessed Event

Signals that a command has been processed by the server.

Syntax

public open class DefaultFtpserverEventListener : FtpserverEventListener {
  ...
  public override fun commandProcessed(e: FtpserverCommandProcessedEvent) {}
  ...
}

public class FtpserverCommandProcessedEvent {
  val connectionID: Long
  val currentDirectory: String?
  val command: String?
  val replyCode: Int
}

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.

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