What do we know?
CA's FTP2 fails with blanks in the directory name to this
system.
CA's FTP2 works with blanks in the directory name to other
systems.
Another FTP client works with blanks in the directory name to
this system.
This says that the directory and access structure is
valid for this transfer.
Suspect:
One end or the other is issuing a command, such as SYST, that is
responding with something that is not liked or not valid, causing
invalid options to be assumed on one end.
Validation:
IP trace of success and failure
Dennis Roach
GHG Corporation
Lockheed Martin Mission Services
Facilities Design and Operations Contract
NASA/JSC
Address:
2100 Space Park Drive
LM-15-4BH
Houston, Texas 77058
Mail:
P.O. Box 58487
Mail Code H4C
Houston, Texas 77258
Phone:
Voice: (281)336-5027
Cell: (713)591-1059
Fax: (281)336-5410
E-Mail: [email protected]
All opinions expressed by me are mine and may not agree with my employer
or any person, company, or thing, living or dead, on or near this or any
other planet, moon, asteroid, or other spatial object, natural or
manufactured, since the beginning of time.
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Klein, Kenneth
> Sent: Wednesday, July 29, 2009 6:18 AM
> To: [email protected]
> Subject: Re: FTP to Unix directory with spaces
>
> 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
----------------------------------------------------------------------
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