VMS Help  —  TCPIP Services, FTP  FTP Conventions
    Use the following rules for command syntax, quotation marks, and
    wildcard characters when you type FTP command lines.

    o  Command syntax

       With the FTP command and most of the commands at the FTP
       prompt, you can use either DCL or UNIX command syntax. For
       example, the DCL DIRECTORY and the UNIX ls commands produce
       the same results

    o  Quotation marks

       When you communicate with a non-OpenVMS host, you might need
       to enclose the following within quotation marks:

       o  UNIX path names

       o  UNIX file names with slashes

       o  Lowercase or mixed-case host names, user names, passwords,
          file names, and command lines

       As shown in the following example, enclose UNIX path names
       with quotation marks:

       FTP> put MY.DOC "/usr/users/evt/my.doc"
       200 PORT command successful.
       150 Opening ASCII mode data connection for /usr/users/evt/mydoc
       (130.180.4.8,1789).
       226 Transfer complete.
       local: WORK1$:[VANA]MY.DOC;2  remote: /usr/users/evt/my.doc
       289 bytes sent in 00:00:00.01 seconds (20.15 Kbytes/s)

    o  Wildcards

       You can use wildcards in the following FTP commands: DELETE,
       DIRECTORY, GET, PUT, MGET, MPUT, MDELETE, and MLS.

       The wildcard characters recognized by FTP include the
       following:

       o  The percent sign (%) to represent an individual character

       o  The question mark (?) to represent an individual character

       o  The asterisk (*) to represent multiple characters

       If any of these characters are part of a file name but are
       not used as a wildcard, you can disable recognition of these
       characters as wildcards by either enclosing the file name in
       quotation marks or using the DISABLE PARSE command.

    o  Qualifiers

       In DCL command lines, you can place a command qualifier
       anywhere on the command line. It is a good practice to follow
       the OpenVMS recommendation of placing the qualifier after the
       command name.
Close Help