× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Guys, We have been running this batch program for over two years and last
week it has started having an issues. Below is the batch file and script
(without the credentials). We are running 7.2 and on CUME TC17068 that was
installed on 8/27/2017 and we have not installed any PTFs since then.



The problem occurs when pulling the files from the IBM i. (We are using the
same service profile without any changes).



Below is the script that is being executed. All goes well until the second
“get”. See ftp log below. I have found that if I wait two minutes and try
the second “get” it works but then try the third get and it fails. I wait
two more minutes or so and the third “get” works.



I thought it might be some connection issues so I ended and restarted the
FTP service but that had no effect.



This is not my first rodeo and have used this for a few years so I
appreciate the feedback if any of you have a solution or idea of why this
might be occurring



Thanks in advance



Hoss



Windows Batch PGM:



FTP -s:scriptfile.txt 192.168.168.168



SCRIPT File scriptfile.txt:

<username>

<password>

lcd Y:\

cd @DELTA@

get prders01.prders01 EHOU1710.ret (REPLAC

get prdrsa01.prdrsa01 EHOU1710.rsa (REPLAC

get prdjrf01.prdjrf01 JZPJ1710.ret (REPLAC



FTPLOG

Connected to 192.168.168.168.

220-QTCP at SYSTEMNAME.

220 Connection will close if idle more than 10 minutes.

501 OPTS unsuccessful; specified subcommand not recognized.

User (192.168.168.168:(none)):

331 Enter password.



230 <username> logged on.

ftp> lcd Y:\

Local directory now Y:\.

ftp> cd @DELTA@

250 "@DELTA@" is current library.

ftp> get prders01.prders01 EHOU1710.ret (REPLAC

500 PORT/EPRT (Active Mode/Extended Active Mode) is not supported. Use
PASV/EPSV instead of this

150 Retrieving member PRDERS01 in file PRDERS01 in library @DELTA@.

226 File transfer completed successfully.

ftp: 46368 bytes received in 0.01Seconds 5796.00Kbytes/sec.

ftp> get prdrsa01.prdrsa01 EHOU1710.rsa (REPLAC

425 Not able to open data connection.

ftp> get prdjrf01.prdjrf01 JZPJ1710.ret (REPLAC

425 Not able to open data connection.

ftp>



Bruce ‘Hoss’ Collins

Houston County Commission

462 N Oates St

Dothan, AL 36303

334-677-4711

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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 [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.