AfterCreateDirectory Event
Signals the completion of a directory creation operation.
Syntax
ftpserver.on('AfterCreateDirectory', [callback])
Callback
The 'callback' is called when the 'AfterCreateDirectory' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.connectionID e.directory e.operationStatus
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 |