Renames remote file or folder

Namespace:  KetLabs.FTP
Assembly:  Ftp (in Ftp.dll) Version: 1.0.0.19105 (1.0.0.*)

Syntax

C#
public void Rename(
	string oldName,
	string newName
)
Visual Basic (Declaration)
Public Sub Rename ( _
	oldName As String, _
	newName As String _
)
Visual C++
public:
void Rename(
	String^ oldName, 
	String^ newName
)

Parameters

oldName
Type: System..::.String
Current name of the remote file or folder
newName
Type: System..::.String
New name of the remote file or folder

See Also