Howard, I can't believe we are seeing the entire log here of what is
going on. Where are the commands and the results of the commands that
Dennis suggested you issue? Run those commands, one at a time or script
them in your batch job and capture the results. Post the entire log here
so we can see what's going on. If what we are seeing is all you are
getting back from the server then there are some serious problems here. 


Ken Klein
Sr. Systems Programmer
Kentucky Farm Bureau Insurance - Louisville
[email protected]
502-495-5000 x7011

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Howard Brazee
Sent: Tuesday, July 28, 2009 2:46 PM
To: [email protected]
Subject: Re: FTP to Unix directory with spaces

On 28 Jul 2009 11:34:10 -0700, [email protected] (Dennis Roach)
wrote:

>Not actually. What we are wanting to see is the directory up level. Try
>
>cd /ps
>cd /ps/cs90ftp
>cd /ps/cs90ftp/conversion_files
>cd /ps/cs90ftp/conversion_files/CC
>cd /ps/cs90ftp/conversion_files/CC/extract
>dir
>
>
>
>What I would suspect is that somewhere along the way something does not

>exist or you do not have the required access. This will list the last 
>valid directory in the path.

Except I have that access using Ultra-Edit, and I cut and pasted the
directory from ultra-edit's FTP browser.   But here it goes.

12:45:09 Enter PASSWORD
XXXXXXXX........MMMMMMMM........QQQQQQQQ..........:  #######         
12:45:09 230 Login successful. 12:45:09 FTP2: cd
/ps/cs90ftp/conversion_files/CC/extract 12:45:09 250 Directory
successfully changed. 12:45:10 FTP2: dir 12:45:10 150 Here comes the
directory listing. 12:45:10 -Dataset opened; data connection starting.
12:45:10     Data transfer Type is ASCII.  Structure is File.  Mode is
Stream.                
12:45:10     Dataset name: D44201.FTP.TMP.T4510028.P9758.S9758 Dataset
attributes:           
12:45:10     Dsorg=PS  Recfm=VB  Lrecl=137  Blksize=9076 Volser=DBS936
Unit=3390            
12:45:10     Primary allocation is 5 tracks. Secondary allocation is
15 tracks.               
12:45:10 150 Network data which exceeds LRECL will be wrapped to the
next record.             
12:45:10 226 Directory send OK. 12:45:10 -Transfer complete. 12:45:11
3673 bytes received in 0.03 seconds (122433 bytes/s) 12:45:11 Dataset
name: D44201.FTP.TMP.T4510028.P9758.S9758 User=D44201
12:45:11     Data bytes written: 3577. 12:45:11 226 Disk tracks
written: 1. 12:45:12 drwxr-xr-x    2 60029    104          4096 May 20
22:41 External System ID for SIT   
12:45:12 drwxr-xr-x    2 60029    104          4096 Jul 28 15:27 Test
Folder                  
12:45:12 -rw-r--r--    1 60029    104        411116 Jul 28 18:12
address_incr.dat        


I tried it again, with a more limited dir - which didn't show "Test
Folder" for some reason (it is visible above):
12:45:42 FTP2: dir t* 12:45:43 150 Here comes the directory listing.
12:45:43 -Dataset opened; data connection starting. 12:45:43     Data
transfer Type is ASCII.  Structure is File.  Mode is Stream.
12:45:43     Dataset name: D44201.FTP.TMP.T4542937.P2546.S2546 Dataset
attributes:              
12:45:43     Dsorg=PS  Recfm=VB  Lrecl=137  Blksize=9076 Volser=DBS618
Unit=3390               
12:45:43     Primary allocation is 5 tracks. Secondary allocation is
15 tracks.                  
12:45:43 150 Network data which exceeds LRECL will be wrapped to the
next record.                
12:45:43 226 Directory send OK. 12:45:43 -Transfer complete.   152
bytes received in 0.03 seconds (5066 bytes/s)                 
12:45:44     Dataset name: D44201.FTP.TMP.T4542937.P2546.S2546
User=D44201                      
12:45:44     Data bytes written: 148. 12:45:44 226 Disk tracks
written: 1. 12:45:44 -rw-r--r--    1 60029    104       5976435 Jul 23
15:07 test_scores-7-23.dat            
12:45:44 -rw-r--r--    1 60029    104      305884107 Jul 25 03:51
test_scores.dat                
12:45:45 FTP2: cd /ps/cs90ftp/conversion_files/CC/extract/Test Folder
12:45:45 550 Failed to change directory. 12:45:45 FTP2: END 12:45:45
221 Goodbye. 12:45:45 221 Session terminated 12:45:45 T01F2030I FTP2
returns CC=8 


...     

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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

Reply via email to