HP OpenVMS Systems

ask the wizard
Content starts here

Case-sensitive DCL command input? (ftp)

» close window

The Question is:

 
Subject: unexpected result from the ftp dir command.
 
Product:
-  DIGITAL TCP/IP Services for
   OpenVMS Alpha  Version V5.0A - ECO 1
   on a AlphaServer 1200 5/400 4MB running
   OpenVMS V7.2-1
-  FTP server (Version 5.60) (QNX 4.24)
 
Description:
Open a ftp session with the UNIX node FEP.
Try to test the existence of a file using two methods:
 I : use the command: "ftp dir <filename>"
 II: use the command:
     "ftp dir/out=dirout.txt <filename>"
 
Result:
Case I is successful but case II not and the message:
"ls: No such file or directory (CCP_X25ACC_4.LOG)"
is put in the dirout.txt file! The file is in lowercase on the UNIX node!
 
How can you influence the case for the ftp dir/out command?
 
 
 
 


The Answer is :

 
  Please use COPY/FTP or DIRECTORY/FTP.
 
  By default, DCL upcases input text.  (See the V7.2 and later
  DCL SET PROCESS commands that control the input parsing.)
 
  Alternatively, quote any text that must be lowercase.
 

answer written or last revised on ( 2-APR-2001 )

» close window