FTPRENAME        Rename a file on an FTP site

Top  Previous  Next

Syntax:

FTPRENAME

[ file name1 ]  [ file name2 ]

Arguments:

[ file name1 ]

Variable or string defining the existing server file name.

 

[ file name2 ]

Variable or string defining the new server file name.

Options:

None

 

 

 

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 an FTP site [ file name1] to [ file name2]. This is an example of the FTPRENAME command:

 

FTPRENAME "oldname" "newname"

 

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