Operating System - HP-UX
1753603 Members
6412 Online
108797 Solutions
New Discussion юеВ

Re: Extending timeout window for FTP sessions?

 
SOLVED
Go to solution
dictum9
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
OldSchool
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?
Jaime Bolanos Rojas.
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.
OldSchool
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?
spex
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