Help needed to specify path for FTP

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
sasanka
Member
Posts: 19
Joined: Wed Dec 29, 2010 11:37 pm
Location: hyderabad

Help needed to specify path for FTP

Post by sasanka » Wed Feb 16, 2011 12:01 am

IM trying to do ftp a dataset from mainframes to windows desktop


I have successfully connected to FTP server but the problem is the path specification

i've specified the path as

CD /H

it throwed an error

CWD cmd failed : EDC51291 no such file or directory

could plese let me know how to specify the path :roll:

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Wed Feb 16, 2011 9:38 am

path??? I'm not familiar with the concept of a path in FTP processes.

CD is Change Directory. Some similar commands are PWD (displays the current working directory setting), LCD (Local Change Directory), DIR (retrieve directory listing), LS (List Directory).

Your error indicates to me that there is no directory named H off of the root directory.

a command like CD /TEMP should work if there is an existing TEMP directory off of the root. CD TEMP should work if TEMP is a sub-directory of the current directory.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others