Operating System - HP-UX
1822544 Members
2899 Online
109642 Solutions
New Discussion юеВ

ftp connection terminated abnormally

 
Preet Dhillon
Advisor

ftp connection terminated abnormally

My foreign users are using the AbsoluteFTP client to ftp to my K460 HP server. They get an error message saying "Connection Terminated Abnormally".

The syslog file reports the following entries :

connection from 192.168.7.100 at Tue Jun 5 04:43:23 2001
FTP LOGIN FROM 192.168.7.100, robij
User robij timed out after 900 seconds
User robij logged out

I notice there is no PORT process reported in the syslog file when this user attempts ftp.
Does anyone know why this is happening ?
Many thanks in advance :-)
Nothing succeeds like excess
4 REPLIES 4
Bill McNAMARA_1
Honored Contributor

Re: ftp connection terminated abnormally

The ftpd will disconnect a session if there is no input after a certain timeout.

On the client side using cuteftp I have noticed a timeout setting that ensures that effectively a null command will be send to ensure that the session doesn't timeout.

I've never notices on internet explorer however using the url
ftp://username:ftp.site.com/
so it must be done automatically.

If you have a look at the ftp man (ftpd) you'll find out how to change the server side timeout.

Later,
Bill
It works for me (tm)
Magdi KAMAL
Respected Contributor

Re: ftp connection terminated abnormally

Hi,

This normal, the system will close the ftp session after 900 seconds ( 15 minutes ).

It's a timeout disconnexion.

Magdi
Magdi KAMAL
Respected Contributor

Re: ftp connection terminated abnormally

Hi again,

Oops, I mean after 900 seconds of INACTIVITY of course.

Magdi
Aaron Caine
Advisor

Re: ftp connection terminated abnormally

Preet,

In your inetd.conf file, you can modify this 15 minute timeout by using the -t flag.

Read the man page on ftpd for more information.

[[clip]]
-t timeout Causes ftpd to timeout inactive sessions after
timeout seconds. By default, ftpd terminates an
inactive session after 15 minutes.

[[clip]]