edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

FTPConnectionRenameFile Method

Rename a file or directory.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual bool RenameFile(
	string from,
	string to
)

Parameters

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

Return Value

Boolean
true if the file was renamed successfully.

See Also