SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

AfterRemoveFile Event

Signals the completion of a file removal operation.

Syntax

public open class DefaultFtpserverEventListener : FtpserverEventListener {
  ...
  public override fun afterRemoveFile(e: FtpserverAfterRemoveFileEvent) {}
  ...
}

public class FtpserverAfterRemoveFileEvent {
  val connectionID: Long
  val path: String?
  var operationStatus: Int
}

Remarks

The component fires this event upon completion of a file removal operation. Check the operation status, and alter it, if needed, through the OperationStatus parameter:

ostOk1
ostNoSuchFile2
ostAccessDenied3
ostWriteProtect4
ostUnsupported5
ostInvalidParameter6
ostEOF7

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