System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Extending timeout window for FTP sessions?

 
SOLVED
Go to solution
Super Advisor

Extending timeout window for FTP sessions?

I need to transfer a large number of files, 10-20,000 and the script times out before it completes the transfer.

Is there any way to extend the FTP session timeout?

The OS is HP-UX 11.23.

4 REPLIES 4
Honored Contributor
Solution

Re: Extending timeout window for FTP sessions?

according to the "man" page(s) ftp only "timesout" when idle, and the default (in hpux at least) is 15 minutes......

Is this a scripted transfer, or are you running the actual commands?

What OS is the destination server, and what OS is the target?
Honored Contributor

Re: Extending timeout window for FTP sessions?

HI etc,

I found this information:

"TIMER timer-value
specifies idle-time-out value for the FTP Server. When you include TIMER in the
PORTCONF file, the FTP server times out after the specified time if there is no
session activity. The value of timer-value is a numeric value defining the time-out
interval in seconds."

Regards,

Jaime.
Work hard when the need comes out.
Honored Contributor

Re: Extending timeout window for FTP sessions?

Yes...Jamie is correct. But the real question would be:

If he's transferring 10-20,000 files, why would he be idle?
Honored Contributor

Re: Extending timeout window for FTP sessions?

Assuming you are using ftpd, change the "ftp" line in /etc/inetd.conf to something like this:

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -t

Replace with the desired value. Then force inetd to re-read its configuration file via 'inetd -c'.

PCS