> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Howard Brazee > Sent: Tuesday, July 28, 2009 10:35 AM > To: [email protected] > Subject: Re: FTP to Unix directory with spaces > > On 28 Jul 2009 08:18:54 -0700, [email protected] (McKown, > John) wrote: > > >Shortened example: > > > > EZA1460I Command: > >cd "/home1000/tsh009/a b" > > EZA1701I >>> CWD /home1000/tsh009/a b > > 250 HFS directory /home1000/tsh009/a b is the current > working directory > > EZA1460I Command: > > The following is the directory I found using Ultra-Edit's FTP then cut > and pasted: > /ps/cs90ftp/conversion_files/CC/extract/Test Folder > > Here's the results of two tests with double quotes, I'm not seeing > what I did differently - except we may have different FTP utilities. > > 09:33:41 230 Login successful. 09:33:41 FTP2: cd > "/ps/cs90ftp/conversion_files/CC/extract/Test Folder" > 09:33:41 550 Failed to change directory. 09:33:41 FTP2: put > 'ums.d44201.jcl(testd)' test.dat > 09:32:04 230 Login successful. 09:32:04 FTP2: cd > "/ps/cs90ftp/conversion_files/CC/extract/Test\ Folder" > 09:32:04 550 Failed to change directory. 09:32:04 FTP2: put > 'ums.d44201.jcl(testd)' test.dat
Is this an interactive session (you're typing in the commands), or a "batch" session (some sort of script)? How about trying something like: cd /ps/cs90ftp/convesion_files/CC/extract dir In desperation, do you really needs the damn blanks? -- 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 [email protected] * 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 ---------------------------------------------------------------------- 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

