On Wednesday, 02/23/2011 at 11:56 EST, Sherry Everhart 
<severh...@maccnet.com> wrote:
> Syntax has been corrected.  THANKS, Alan.
> 
> But it's still not working for me.
> 
> With the userid and password the network folks gave me, I am already in 
> the cpdvd directory on the FTP Server, where all the files I'm supposed 
to
> copy reside.  So I figured I could omit the -d parameter (right?):
> 
> pipe ftpget -h xxx.xx.x.xx -u xxxxxxxxx -p xxxxx
>   -v BEF -DVDEOF -f CKD222 * |UNPACK| ECKDREST 2222
>
> DMSRXS1408W File TCPIP DATA * not found
> EXPECTED RESPONSE '125' BUT GOT "550 CKD22200: Access is denied. " 
INSTEAD.
> FTPGET FAILED WITH RC=-120
> Ready(-0120);

Hmmm....see that "-f CKD222 *"?  That should be "-f CKD222*"  (no space).

> If I include the -d parameter:
> 
> pipe ftpget -h xxx.xx.x.xx -u xxxxxxxxx -p xxxxx -d -v BEF -DVDEOF -f
> CKD222* |UNPACK| ECKDREST 2222
> UNRECOGNIZED OPTION: BEF
> FTPGET FAILED WITH RC=-101
> Ready(-0101);

FTPGET sees "-d directoryname", so -v is the directory name.

> What am I doing wrong??

Specify the -debug option to see what's happening in more detail. 


Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott

Reply via email to