AfterCreateDirectory Event
Signals the completion of a directory creation operation.
Syntax
typedef struct { __int64 ConnectionID; String Directory; int OperationStatus; } TsbxFTPServerAfterCreateDirectoryEventParams; typedef void __fastcall (__closure *TsbxFTPServerAfterCreateDirectoryEvent)(System::TObject* Sender, TsbxFTPServerAfterCreateDirectoryEventParams *e); __property TsbxFTPServerAfterCreateDirectoryEvent OnAfterCreateDirectory = { read=FOnAfterCreateDirectory, write=FOnAfterCreateDirectory };
Remarks
The component fires this event upon completion of a directory creation 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 |