AfterCreateDirectory Event
Signals the completion of a directory creation operation.
Syntax
class FTPServerAfterCreateDirectoryEventParams { public: qint64 ConnectionID(); const QString &Directory(); int OperationStatus(); void SetOperationStatus(int iOperationStatus); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void AfterCreateDirectory(FTPServerAfterCreateDirectoryEventParams *e);
// Or, subclass FTPServer and override this emitter function. virtual int FireAfterCreateDirectory(FTPServerAfterCreateDirectoryEventParams *e) {...}
Remarks
The class 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 |