I want to alter the ftp transfer timeout. Couldn't find it in /etc/proftpd.conf
Where can I set it?
I want to alter the ftp transfer timeout. Couldn't find it in /etc/proftpd.conf
Where can I set it?
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.
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)
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
What error did you get?
Did you do the following to restart proftpd:
/etc/init.d/proftpd stop
/etc/init.d/proftpd start
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
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.