Library /sys$common/syshlp/tcpip$ftp_help.hlb
RENAME, Examples

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    1.FTP>ls

      BEARS
      bears
      your.doc.1
      sports.txt.txt
      STUDENTS.LIS

      226 Transfer complete.
      265 bytes received in 00:00:00.00 seconds (64.69 Kbytes/s)
      FTP> RENAME STUDENTS.LIS TEST_STUDENTS.LIS
      350 File exists, ready for destination name
      250 RNTO command successful.
      FTP>

      This example shows how to use the RENAME command to rename 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_STU
      DENT.LIS;1
      FTP>

      This example shows how to rename a file that exists on an
      OpenVMS system.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.