PowerTCP SSH and SFTP for .NET
Rename Method




The absolute or relative (to WorkingDirectory) path of an existing directory or file.
The absolute or relative (to WorkingDirectory) new path.
Renames or moves a file or directory.
Syntax
'Declaration
 
Public Sub Rename( _
   ByVal oldPath As String, _
   ByVal newPath As String _
) 
'Usage
 
Dim instance As Sftp
Dim oldPath As String
Dim newPath As String
 
instance.Rename(oldPath, newPath)
public void Rename( 
   string oldPath,
   string newPath
)
public: void Rename( 
   string* oldPath,
   string* newPath
) 
public:
void Rename( 
   String^ oldPath,
   String^ newPath
) 

Parameters

oldPath
The absolute or relative (to WorkingDirectory) path of an existing directory or file.
newPath
The absolute or relative (to WorkingDirectory) new path.
See Also

Reference

Sftp Class
Sftp Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic