edtFTPnet/Express - Class Reference

FTPConnection.DirectoryChanging Event

NOTE: This event is now obsolete.

Use ServerDirectoryChanging


Occurs when the server directory is about to be changed.

public event FTPDirectoryEventHandler DirectoryChanging;

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