First, I did not use a script or a program to try the interactive response. Rather, I did as you illustrate below. It starts off with:
Previous FTP subcommands and messages:
Connecting to host PTF.BOULDER.IBM.COM at address 126.96.36.199 using port 21.
Sits there for ages (okay, 3-5 minutes) and returns with:
Cannot connect to host PTF.BOULDER.IBM.COM at address 188.8.131.52. Try again later.
Never prompts me for user id and password.
Second, when I run option 12 of CFGTCP, the following panel(s) are displayed:
Port . . . . . . . . . . . . . . PORT 53
Protocol . . . . . . . . . . . . PROTOCOL *UDP
Initial domain name server . . . INLDMNSVR *FIRST
Domain name server retry: DMNSVRRTY
Number of retries . . . . . . 2
Time interval . . . . . . . . 2
This is our backup system. The production system shows the same thing, except that HOSTNAME = BNW400. When I run FTP PTF.BOULDER.IBM.COM from it, I get the message in the FTP feedback panel of: Cannot find host PTF.BOULDER.IBM.COM. Until today I had never tried to connect to an outside site from production. I do, however, FTP save files of our production libraries to the test system every morning at about 0130 using an explicit IP address (10.0.0.4). It worked fine last night.
Ping to PTF.BOULDER.IBM.COM from test times out after five  tries; production says "Unknown host...". Just to test our overall connection to the outside world, I ran the ping from a command prompt in windows. Worked fine, except that oddly (to me) it showed an address of 184.108.40.206, not 220.127.116.11 which the System i FTP showed it was trying to connect to. Maybe that's normal; I don't know. I, also, pinged google and ask from Windows; got replies. When I pinged from the test System i, I got the "Unknown host..." message.
I used the FTP from the test System i to download the latest cume (V5R4) when it first came out. Don't recall using it again until yesterday. I fat-fingered my keyboard yesterday so that Copy/Paste didn't work (got it working eventually); it is imminently within the realm of possibility that I did something similar to the System i without realizing it.
Jerry C. Adams
IBM System i Programmer/Analyst
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Tuesday, August 25, 2009 7:54 AM
To: Midrange Systems Technical Discussion
Subject: Re: PTF FTP Download Problem
I thought it was his DNS configuration at first too. However did you
notice the address 18.104.22.168 in the "connecting to" message? Doubt
that DNS is the issue. CFGTCP, option 12 and a page down is where you
check your list of DNS's.
Jerry, when they said to try it interactive they meant without the script.
Simply type in
and then when prompted, enter in the anonymous and the password.
If that connects then I really think something is wrong with your script.
My script is this
0002.00 open ptf.boulder.ibm.com
0003.00 user "anonymous" ROB@xxxxxxxxxxxxxxxxxxxxxxxx
0004.00 locsite namefmt 1
0005.00 lcd /fixes/cume
0007.00 cd /ccss/lv1/us38775/b8538775/cume/c
0008.00 get ftpCUME.txt
0009.00 get ilstCUME.txt
0011.00 mget CUME_*.bin
Notice the blank line at the beginning?
This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact