Sorry I didn't respond in a more timely fashion.external
Thanks to those people who responded
Rob@xxxxxxxxx suggested trying PING, unfortunately on a lot of the
sites PING has been disabled.down,
Vern made the suggestion below, but my problem is that if the site is
I cannot ftp to their site to change anything, so that when I try to ftpprogram
get, the ftp script fails, but the control does not pass back to my
for quite a while.
So, if anyone has anymore suggestions?
Programmer/Analyst, Direct Response
P:(631) 244-2000 ext. 5019
"If you're going through Hell, keep going" - Winston Churchill
midrange-l-bounce Midrange Systems Technical
Re: FTP time-outs
Please respond to
There is a little-known server sub-command that can be used to set
TIME <inactivity> <transfer>: Sets server time-out values for this FTP
<transfer> is optional
This is run using the QUOTE client sub-command
So from your client you can run
quote time 900 30
sets inactivity timeout to 15 minutes and waiting for data to arrive to
seconds - at least I think that is its meaning.session
Run STAT from your FTP session to see what the values are for your
now. One of our machines comes back withtimeout
211-File transfer time-out value set to 420 seconds.
211 Current inactivity time-out value set to 3600 seconds.
when using ftp to loopback.
Inactivity timeout is settable with the CHGFTPA command - transfer
is not. The inactivity timeout is also the source for the message you getagain
from an iSeries when you first enter an FTP session - Connection will not
be closed... ' or 'Connection will close if idle...'
This might have no effect on a Windows FTP server or a Linux one.
-------------- Original message --------------
From: Alan Shore <AlanShore@xxxxxxxx>
I have a question concerning ftp. Hopefully my question comes across the
way I want it to.
We have a script that gets files via ftp from different sites. If for
reason that ftp site is not available, we have to wait for a time-out to
occur on the ftp request.
Who controls that time-out? Is there a way to programmatically recognize
that situation to circumvent the time-out?
Here is a copy of what the FTPLOG looks like
6/03/08 22:08:30 XXXXXXXX Send FTP File (SNDFTPF) Command Log
Input read from specified override file.
Connecting to remote host 123.45.678.901 using port 21.
Cannot connect to host 123.45.678.901 at address123.45.678.901. Try
Enter an FTP subcommand.
As usual, many thanks for any and all help offered
This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact