edtFTPnet/Express - Class Reference

FTPConnection.LocalDirectoryChanging Event

Occurs when the local directory is about to be changed.

public event FTPDirectoryEventHandler LocalDirectoryChanging;

Event Data

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.
Exception The exception thrown if a transfer failed.
NewDirectory Working directory after change.
OldDirectory Working directory prior to change.
Succeeded Indicates whether or not the transfer succeeded.

See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace