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

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

    1.FTP> GET "/seasons/standings/spring.deliveries" SPORTS.TXT
      200 PORT command successful
      150 Opening ASCII mode data connection for spring.stats.
         .
         .
         .

      Copies the UNIX file spring.deliveries to the OpenVMS host,
      where it is named SPORTS.TXT.

    2.FTP> GET spring.deliveries SPORTS.TXT

      Copies the same file (spring.deliveries) when it is in your
      remote working directory.

    3.FTP> MGET *.DOC
      200 PORT command successful
      150 Opening ASCII mode data connection for cast.doc;1 (130.180.4.8,27)
      226 Transfer complete.
      local:cast.doc;1   remote: cast.doc;1
      1222 bytes received in 00:00:00.01 seconds (70.19 Kbytes/s)
      200 PORT command successful
      150 Opening ASCII mode data connection for director.doc;3 (130.180.4.8,28)
      226 Transfer complete.
      local: director.doc;1   remote: director.doc;3
      90 bytes received in 00:00:00.01 seconds (5.49 Kbytes/s)
      FTP>

      Copies all the UNIX files ending with doc.

    4.FTP> GET/CONFIRM  *.*;*
      Get EDTINI.EDT ? [Y or N] [Y]: Y
         .
         .
         .

      Before executing the copy operation for every file in the
      remote default directory, FTP asks, one-by-one, to confirm
      that you want to copy each file.

      To confirm MPUT, MGET, and MDELETE operations, use the FTP
      prompt command before entering the MPUT, MGET, and MDELETE
      commands.

        FTP> prompt
        Interactive mode on.
        FTP> mget C*
        Get CHRONOS ? [Y or N or Q or G] [Y]: y
        200 PORT command successful.
        150 Opening ASCII mode data connection for CHRONOS (130.180.4.8,2150) (1596
        bytes).
        226 Transfer complete.
        local: WORK1$:[VANA]CHRONOS.;2  remote: CHRONOS
        1596 bytes received in 00:00:00.04 seconds (31.80 Kbytes/s)

    5.FTP> GET/FDL FEATHERS.DIS

      Copies and preserves the record attributes of feathers.dis. (A
      PUT/FDL command was previously entered.)
  Close     HLB-list     TLB-list     Help  

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