FTPConnectionRenameFile Method |
Rename a file or directory.
Namespace:
EnterpriseDT.Net.Ftp
Assembly:
edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntaxpublic 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
Parameters
- from
- Type: SystemString
Name of file or directory to rename. - to
- Type: SystemString
New file-name.
Return Value
Type:
Booleantrue if the file was renamed successfully.
See Also