Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ftp.Rename Method

Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)

Rename(String, String)

Renames or moves a file or directory on the server.

Declaration
public void Rename(string fromPath, string toPath)
Parameters
Type Name Description
String fromPath

The pathname of the remote file or directory to be renamed.

String toPath

The pathname to rename the file or directory to.

Implements
IFtp.Rename(String, String)
Remarks

Represents FTP RNFR/RNTO command pair.

In This Article
  • Rename(String, String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies