Proftpd: Make Sure FTP Client Does Not Timeout

To make sure that FTP clients do not timeout, you need to configure the TimeoutIdle directive in the ProFTPD configuration file.

Here are the steps to configure TimeoutIdle directive:

  1. Open the ProFTPD configuration file in a text editor. The default configuration file is located at /etc/proftpd/proftpd.conf.
    $ sudo vi /etc/proftpd/proftpd.conf
  2. Scroll down to the TimeoutIdle directive.
    TimeoutIdle 1200

    This directive sets the maximum number of seconds an FTP client can remain idle before being disconnected.

    Change the value of the TimeoutIdle directive to the number of seconds that you want to set. For example, to set the timeout to 30 minutes, set the directive to 1800.

  3. Save the configuration file and exit the text editor.
  4. Restart the ProFTPD service to apply the changes.
    $ sudo systemctl restart proftpd

After making these changes, FTP clients will not timeout until they have been idle for the number of seconds specified by the TimeoutIdle directive.

Leave a Comment