TCPIP$FTP_HELP.HLB  —  RENAME
    Renames a remote file. To use this command, you must have an FTP
    session with a remote host.

    DCL Format

      RENAME  old_name new_name

    UNIX Format

      rename  old_name new_name

1  –  Parameters

 old_name

    Required.

    File name on the remote host to rename.

 new_name

    Required.

    New name for the remote file.

2  –  Examples

    1.FTP> rename STUDENTS.LIS TEST_STUDENTS.LIS

      350 File exists, ready for destination name
      250 RNTO command successful.
      FTP>

      Renames a file on a UNIX system.

    2.FTP> RENAME STUDENT.LIS TEST_STUDENT.LIS
      350 File WORK1$:[VANA[STUDENT.LIS; will be renamed.
      250 File WORK1$:[VANA]STUDENT.LIS;1 renamed to WORK1$:[VANA]TEST_STUDENT.LIS;1
      FTP>

      Renames a file on an OpenVMS system.
Close Help