Library /sys$common/syshlp/TCPIP$FTP_HELP.HLB  —  GET  Examples
    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 an 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 feahers.dis

      Copies and preserves the record attributes of feathers.dis. (A
      put/fdl command was entered previously.)
Close Help