Ah. I did my test from a Linux system to a z/OS ftp server. I just did the 
following from a z/OS client to the ftp server on the same z/OS system:

cd /home1000
 EZA1701I >>> CWD /home1000
 250 HFS directory /home1000 is the current working directory
 EZA1460I Command:
cd tsh009
 EZA1701I >>> CWD tsh009
 250 HFS directory /home1000/tsh009 is the current working directory
 EZA1460I Command:
mkdir a\ b
 EZA1542I Usage: MKDIR directory :(like local_mvs_directory:
 EZA1460I Command:
pwd
 EZA1701I >>> PWD
 257 "/home1000/tsh009" is the HFS working directory.
 EZA1460I Command:
mkdir "a b"
 EZA1701I >>> MKD a b
 257 "/home1000/tsh009/a b" created.
 EZA1460I Command:
cd "a b"
 EZA1701I >>> CWD a b
 250 HFS directory /home1000/tsh009/a b is the current working directory

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:ibm-m...@bama.ua.edu] On Behalf Of Howard Brazee
> Sent: Tuesday, July 28, 2009 10:10 AM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: FTP to Unix directory with spaces
> 
> On 28 Jul 2009 07:56:55 -0700, jmck...@healthmarkets.com (McKown,
> John) wrote:
> 
> 
> >> How do I handle the Unix spaces in the directory name?
> >
> >You likely need to "escape" the spaces with a reverse 
> solidus (backslash to the "unwashed masses" <grin>).
> >
> >cd /ps/cs90ftp/conversion_files/CC/extract/Files\ for\ Production
> 
> 
> 09:12:18 Enter PASSWORD
> XXXXXXXX........MMMMMMMM........QQQQQQQQ..........:  ####### 
> 09:12:19 230 Login successful. 09:12:19 FTP2: cd
> /ps/cs90ftp/conversion_files/CC/extract/Files\ for\ Production    
> 09:12:19 550 Failed to change directory. 09:12:19 FTP2: put
> 'UMSDEV.QA06.CCITFULL.D090714'  citizen_D090714.dat 09:12:19 -Dataset
> opened; data connection starting. 
> One bad thing is that the files still get FTPd, the failure was only
> in the Change Directory.
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
> 
> 

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

Reply via email to