An NDoc Documented Class Library

FTPConnection.RenameFile Method 

Rename a file or directory.

public virtual bool RenameFile(
   string from,
   string to
);

Parameters

from
Name of file or directory to rename.
to
New file-name.

Return Value

true if the file was renamed successfully.

See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace