Re: FTP-Client(PC)/Server(M/F)



-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:IBM-MAIN@xxxxxxxxxxx] On Behalf Of Ron Wells
Sent: Tuesday, October 30, 2007 1:46 PM
To: IBM-MAIN@xxxxxxxxxxx
Subject: Re: FTP-Client(PC)/Server(M/F)


ok---create ftps.rc
put in following.....don't laugh if wrong....just snicker...

CD 'u/agttxfr/catalog'

did not setup directory path

dir / >> shows root
dir \ >> shows home directory>>setup in racf
ls -a >> shows same as above


Is that EXACTLY what you entered? If so, then what you really need is:

cd /u/agttxfr/catalog

exactly that. By putting the operand to the "cd" command in quotes, you
said "This is an MVS dataset name". Of course there is not dataset name
called 'U/AGTTXFR/CATALOG' because that is not valid. The MVS ftp server
switched between MVS and HFS by looking at the first character of the
operand. If the first character is a ', then the ftp server switches to
MVS datasets. If the first character is a /, then the ftp server
switches to HFS files. If it is neither, then the ftp server stays in
either MVS or HFS mode and just changes the MVS qualifier level, or
subdirectory.

dir /

will always show the root directory.

dir

with no operand shows the current directory if in HFS mode, or the
datasets catalog to the current MVS qualifer level if in MVS mode. In my
test

dir \

showed the same as the plain "dir" command. "ls" and "dir" are basically
synonyms in the ftp server world.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential. It is for intended addressee(s) only. If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense. If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • FTP GET from MVS, using Win2000 server
    ... The FTP server is Win2000 server. ... The files are ascii text and need to be converted into ebcdic. ... characters. ... I know that a PUT from Windows works fine, but I do want to perform a get from MVS. ...
    (microsoft.public.inetserver.iis.ftp)
  • How can I ENQ a dataset on MVS/OS390
    ... Batch Program that runs as a Job under TSO). ... However this doesn't work with an mvs dataset. ...
    (bit.listserv.ibm-main)