edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

FTPConnectionRenameFile Method

Rename a file or directory.

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

Parameters

from
Type: SystemString
Name of file or directory to rename.
to
Type: SystemString
New file-name.

Return Value

Type: Boolean
true if the file was renamed successfully.
See Also