SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

CommandReceived Event

Signals that a command has been received from the client.

Syntax

public open class DefaultFtpserverEventListener : FtpserverEventListener {
  ...
  public override fun commandReceived(e: FtpserverCommandReceivedEvent) {}
  ...
}

public class FtpserverCommandReceivedEvent {
  val connectionID: Long
  val command: String?
  val parameters: String?
  var ignore: Boolean
}

Remarks

The component 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 Kotlin Edition - Version 20.0 [Build 8063]