Occurs when a directory listing operations is commenced.
The event handler receives an argument of type FTPDirectoryListEventArgs containing data related to this event. The following FTPDirectoryListEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ConnectionInstanceNumber | Identifies the pooled connection on which the task is running. |
Directory | Obsolete. Path of directory on server being listed. |
DirectoryName | Name of directory on server being listed. |
DirectoryPath | Path of directory on server being listed. |
Exception | The exception thrown if a transfer failed. |
FileInfos | Details of files in the directory. |
IsGuiThread | Indicates whether or not the event-handler has been invoked on the GUI thread. |
Succeeded | Indicates whether or not the transfer succeeded. |
TaskID | Identifies the asynchronous operation within which the event was triggered (applies to asynchronous methods only). |