Use this command to rename files on the server. If the current working directory contains the files that you want to rename, then the
parameters might contain only the file names. You can also use the rename command to move files on the server. To move files, include the full paths in the
For example, the following command changes the name of the
For example, the following command moves the
file from the current working directory to the parent directory:
Include the following parameters in the request:
GET or POST
from: The relative or absolute path of the file or directory to rename.
to: The relative or absolute path of the new name.