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