Link to home
Start Free TrialLog in
Avatar of Embt
Embt

asked on

ftp timeout

The timeout setting for ftp on my machine is 900 seconds, I'd like to change it to a longer time, how do I do this?

Thanks in advance.
Avatar of tfewster
tfewster
Flag of United Kingdom of Great Britain and Northern Ireland image

Depends on which OS you're running...

HP-UX:
Client: When running ftp> idle [seconds] shows/changes timeout

Server: ftpd daemon can be started with:
-t timeout     Causes ftpd to timeout inactive sessions after timeout seconds.
By default, ftpd terminates an
inactive session after 15 minutes. (900 seconds)

-T maxtimeout   A client can also request a different timeout period.  The -T
option sets to maxtimeout the
maximum timeout that client can request, in  seconds. By default, the maximum
timeout is 2 hours.


Solaris ftp client doesn't support the "idle" command & Solaris ftpd daemon
doesn't support "-T", so the timeout
is fixed when the daemon is started with -t seconds (Default 900 seconds)

man ftp and man ftpd will tell you what options are supported on your system.
Avatar of Embt
Embt

ASKER

Thanks for the response, I am using FreeBSD, how do I set timeout? I am unable to find ftpd.

ASKER CERTIFIED SOLUTION
Avatar of tfewster
tfewster
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Embt

ASKER

thank you very much for the help. it works very well.

I need to ftp all the time, because my web server is on one machine while version control system is on another.