Occurs when a directory is about to be created 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. |
ConnectionInstanceNumber | Identifies the pooled connection on which the task is running. |
CreationTime | Creation time of the directory. |
Exception | The exception thrown if a transfer failed. |
IsGuiThread | Indicates whether or not the event-handler has been invoked on the GUI thread. |
NewDirectory | Obsolete. Path of working directory after change. |
NewDirectoryName | Name of working directory after change. |
NewDirectoryPath | Path of working directory after change. |
OldDirectory | Obsolete. Path of working directory after change. |
OldDirectoryName | Name of working directory after change. |
OldDirectoryPath | Path of working directory after change. |
Succeeded | Indicates whether or not the transfer succeeded. |
TaskID | Identifies the asynchronous operation within which the event was triggered (applies to asynchronous methods only). |