[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

FTP and parameters? (username, password)

» close window

The Question is:

 
In (3116) "FTP and parameters? (username, password)" the question states
that /username and /password parameters don't work with the FTP command.
You responded that the command to use is copy/ftp.  I am having the same
problem.  However I want to use the
 FTP command.  Online help states that these parameters exist, and I know it
used to work in a previous version.  After an OS upgrade this week, the
parameters no longer work.  How can one open an FTP session in one command,
including passing username and
 password?
 
Thanks
 
 


The Answer is :

 
  COPY/FTP provides this capability, as does the FTP utility provided
  with TCP/IP Services V5.0A.  (This capability is also available in
  earlier TCP/IP Services versions, as well.  COPY/FTP is first available
  in OpenVMS V6.2, with the installation of a compliant TCP/IP package.)
 
  If you wish to specify the entire FTP operation in a single DCL command,
  the OpenVMS Wizard generally recommends the use of the COPY/FTP mechanism.
  The COPY/FTP command permits the specification of the source and
  destination files in a single command.
 
  That said, the OpenVMS Wizard has just tested the V5.0A FTP utility on
  OpenVMS Alpha V7.2-1, and has found it to operate.  Commands such as
  COPY/FTP and DIRECTORY/FTP also operate as expected.  Examples of DCL
  commands tested include the following:
 
    $ FTP/USERNAME=username/PASSWORD=password ip.node.name
    FTP> LS...
    FTP> EXIT
    $ DIRECTORY/FTP ip.node.name"username password"::*.bck
    ...
 
  If you have a specific problem, please acquire the exact sequence of
  command(s) used, the TCP/IP package and version, and please contact
  the TCP/IP vendor.  If this is the Compaq TCP/IP Services for OpenVMS
  package, please first ensure you are using V5.0A, and then -- if the
  problem persists -- please Compaq Customer Support Center directly.
 

answer written or last revised on ( 22-OCT-1999 )

» close window