Rename a file or directory.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public virtual bool RenameFile( string from, string to ) |
Visual Basic |
---|
Public Overridable Function RenameFile ( _ from As String, _ to As String _ ) As Boolean |
Visual C++ |
---|
public: virtual bool RenameFile( String^ from, String^ to ) |
Parameters
- from
- Type: System..::..String
Name of file or directory to rename.
- to
- Type: System..::..String
New file-name.