A. Most ftp client can ping to FTP server to stay connected but some client cannot do this. However, you can increase timeout on server itself.
TimeoutNoTransfer directive
The TimeoutNoTransfer directive configures the maximum number of seconds a client is allowed to spend connected, after authentication, without issuing a command which results in creating an active or passive data connection (i.e. sending/receiving a file, or receiving a directory listing).Open your /etc/proftpd.conf file, enter:
# vi /etc/proftpd.conf
Set TimeoutNoTransfer to 1200 from default 300:
TimeoutNoTransfer 1200
Restart proftpd:
# service proftpd restart
See ProFTPD tutorial for more information.
No comments:
Post a Comment