AfterCreateDirectory Event
Signals the completion of a directory creation operation.
Syntax
public class DefaultFtpserverEventListener implements FtpserverEventListener { ... public void afterCreateDirectory(FtpserverAfterCreateDirectoryEvent e) {} ... } public class FtpserverAfterCreateDirectoryEvent { public long connectionID; public String directory; public int 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 |