AfterRemoveFile Event
Signals the completion of a file removal operation.
Syntax
typedef struct { __int64 ConnectionID; String Path; int OperationStatus; } TsbxFTPServerAfterRemoveFileEventParams; typedef void __fastcall (__closure *TsbxFTPServerAfterRemoveFileEvent)(System::TObject* Sender, TsbxFTPServerAfterRemoveFileEventParams *e); __property TsbxFTPServerAfterRemoveFileEvent OnAfterRemoveFile = { read=FOnAfterRemoveFile, write=FOnAfterRemoveFile };
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:
ostOk | 1 | |
ostNoSuchFile | 2 | |
ostAccessDenied | 3 | |
ostWriteProtect | 4 | |
ostUnsupported | 5 | |
ostInvalidParameter | 6 | |
ostEOF | 7 |