edtFTPnet/Express - Class Reference

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.
Exception The exception thrown if a transfer failed.
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.
Succeeded Indicates whether or not the transfer succeeded.

See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace