On Tue, 30 Oct 2007 14:37:11 -0500, McKown, John <[EMAIL PROTECTED]> wrote:
>> -----Original Message----- >> From: IBM Mainframe Discussion List >> [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wells >> >> ok---have following in ftps.rc >> >> cd /u/agttxfr/catalog/n020 >> >> >> did not work ... >> >> tried ftpd.rc as well .. > >What version of z/OS are you running? I ask because it worked for me on >z/OS 1.8. My id on z/OS is TSH009. I create an MVS file called >'TSH009.FTPS.RC' containing the single line: > >cd 'TSH001' > >when I logged into the z/OS ftp server from my desktop, and did a "dir", >I saw the TSH001 MVS datasets. I then deleted that file and created the >file "ftps.rc" in my $HOME (/home1000/TSH009) directory in UNIX. It >contained the single line: > >cd /home1000/TSH009 > >I logged into the z/OS ftp server from my desktop again and ended up in >the /home1000/TSH009 directory, just as advertised. > >In the words of Vinnie Barbarino: "I'm so confused!" > >-- >John McKown I just did it on my zOS 1.7 system with the hfs file. Works great. User (some.host.name:(none)): userx 331 Send password please. Password: 230-Processing FTPS.RC configuration file - /u/userx/ftps.rc 230-HFS directory /etc/WebSphere is the current working directory 230 USERX is logged on. Working directory is "/etc/WebSphere". ftp> That was from a DOS prompt (or whatever it's called now). Worked fine with FileZilla too. Did you get this kind of output, suggesting that it was running through the config file? And, if you are expecting it to keep the user at that directory (can't change directory, etc.) then this won't do it. You could try to do it with permissions, but that's a bear. It's much easier with the FTP exit. Aaron ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

