ClientFile.rename(sourcePath,destinationName,silent)

Renames the file denoted by this abstract sourcePath to destinationName. EXAMPLE // Rename "testfile" as "testfileRen.txt" rename testfile using sourcePath = "/tmp/testfile.txt", destinationName = "/tmp/testfileRen.txt", silent = true display ("Check that testfile was renamed to testfileRen.txt")

Arguments:

Name Type Description Mode
sourcePath String source file's pathname. in
destinationName String destination file's name. in
silent Bool Ignore error.Optional. in