FTPRENAME Rename a file on a remote site |
Top Previous Next |
When connected to a HTTP/HTTPS site, this command will only work with a DAV enabled web server. For further details on DAV enabled web server, see http://www.webdav.org/specs/rfc2518.html.
This script command renames a file on the remote site from [ file name1] to [ file name2].
This is an example of the FTPRENAME command:
FTPRENAME "oldname" "newname"
This command may also be used to move a file to another folder on the remote site, for example:
FTPRENAME "OctSales.xls" "/sales/2010/oct/sales.xls"
Wildcard characters are not permitted with the FTPRENAME command.
To rename a local file, use the RENAME script command.
Related Command(s): FTPCMD, FTPDELETE, FTPMAKEDIR, RENAME, MOVE
|