RENAME        Rename a local file

Top  Previous  Next

Syntax:

RENAME

[ file name1 ]  [ file name2 ]

Arguments:

[ file name1 ]

Variable or string defining a file or path name; if no path is defined Robo-FTPs working folder is used.

 

[ file name2 ]

Variable or string defining a file name.

Options:

None

 

 

 

This script command renames local [ file name1] to [ file name 2]. This is an example of the RENAME command:

 

RENAME "oldname" "newname"

 

To rename a file on the FTP site, use the FTPRENAME script command.

 

Related Command(s): COPY, APPEND, DELETE, WORKINGDIR