RENAME (Rename a File on a Remote System)

 

The RENAME i5/OS® FTP client subcommand renames a file on a remote system.

 

FTP client subcommand

REname originalname newname

originalname

The present name of the remote file.

newname

The new name of the remote file. If the file specified by newname already exists, the new file replaces it.

This example renames the file SPORTSCAR.BMP in directory IMAGES on optical volume PICTURES to CAR.BMP:

REN /QOPT/PICTURES/IMAGES/SPORTSCAR.BMP  /QOPT/PICTURES/IMAGES/CAR.BMP

On the i5/OS operating system, you cannot rename a file to a different file system.