FTPConnectionRenameFile Method
Rename a file or directory.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public virtual bool RenameFile(
string from,
string to
)
Public Overridable Function RenameFile (
from As String,
to As String
) As Boolean
public:
virtual bool RenameFile(
String^ from,
String^ to
)
abstract RenameFile :
from : string *
to : string -> bool
override RenameFile :
from : string *
to : string -> bool
- from String
- Name of file or directory to rename.
- to String
- New file-name.
Booleantrue if the file was renamed successfully.