Renames or moves a file or directory on the server.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Sub Rename ( _ fromPath As String, _ toPath As String _ ) |
C# |
---|
void Rename( string fromPath, string toPath ) |
Parameters
- fromPath
- Type: System..::..String
The pathname of the remote file or directory to be renamed.
- toPath
- Type: System..::..String
The pathname to rename the file or directory to.