SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

AfterRenameFile Event

Signals the completion of a file renaming operation.

Syntax

public open class DefaultFtpserverEventListener : FtpserverEventListener {
  ...
  public override fun afterRenameFile(e: FtpserverAfterRenameFileEvent) {}
  ...
}

public class FtpserverAfterRenameFileEvent {
  val connectionID: Long
  val oldPath: String?
  val newPath: String?
  var operationStatus: Int
}

Remarks

The component fires this event upon completion of a file renaming 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]