SecureBlackbox 2020 C++ Builder Edition

Questions / Feedback?

AfterRenameFile Event

Signals the completion of a file renaming operation.

Syntax

typedef struct {
  __int64 ConnectionID;
  String OldPath;
  String NewPath;
  int OperationStatus;
} TsbxFTPServerAfterRenameFileEventParams;

typedef void __fastcall (__closure *TsbxFTPServerAfterRenameFileEvent)(System::TObject* Sender, TsbxFTPServerAfterRenameFileEventParams *e);

__property TsbxFTPServerAfterRenameFileEvent OnAfterRenameFile = { read=FOnAfterRenameFile, write=FOnAfterRenameFile };

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 C++ Builder Edition - Version 20.0 [Build 8154]