Occurs when a directory is about to be deleted on the server.
The event handler receives an argument of type FTPDirectoryEventArgs containing data related to this event. The following FTPDirectoryEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Determines whether or not the operation should be cancelled. |
NewDirectory | Working directory after change. |
OldDirectory | Working directory prior to change. |