NNNils

Well-Known Member
Sep 17, 2002
580
0
166
I want to alter the ftp transfer timeout. Couldn't find it in /etc/proftpd.conf

Where can I set it?
 

PWSowner

Well-Known Member
Nov 10, 2001
2,948
4
343
ON, Canada
It's in the httpd.conf file.

Here's a copy of the section you will want to look at:

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 500

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 60


Timeout shouldn't be set too long though. It's better to use a program that sends keep alive signals, as long as KeepAlive is set to on.
 

hicom

Well-Known Member
May 23, 2003
290
4
168
timeout

check

/usr/local/etc/proftpd.conf

also check the ProFTPD website for helpful tip on how to increase the time (see their complex virtual host example)
 

batchtech

Member
Mar 13, 2004
9
0
151
problem...

Hmm, I added this stuff in but Proftpd would not restart. It failed after adding that stuff. Where in particular should it go in the config file?

Thanks,
David
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,462
26
473
Go on, have a guess
What error did you get?

Did you do the following to restart proftpd:

/etc/init.d/proftpd stop
/etc/init.d/proftpd start
 

batchtech

Member
Mar 13, 2004
9
0
151
the problem was httpd.conf

The problem was that above were settings for httpd.conf, not proftpd.conf....that's why it was failing. I found the settings for proftpd in another post and it works fine now.