An NDoc Documented Class Library

FTPConnection.RenamingFile Event

Occurs when a remote file is about to be renamed.

public event FTPFileRenameEventHandler RenamingFile;

Event Data

The event handler receives an argument of type FTPFileRenameEventArgs containing data related to this event. The following FTPFileRenameEventArgs properties provide information specific to this event.

Property Description
Cancel Determines whether or not the operation should be cancelled.
NewFileName Name of file after the renaming takes place.
OldFileName Name of file before the renaming takes place.
RenameCompleted Obsolete. Indicates whether or not the renaming operation has been completed successfully.

See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace