Proftpd: Make Sure FTP Client Does Not Timeout

Q. I’m using ProFTPD FTP server under CentOS Linux. How do I make sure that my FTP client does not disconnect or timeout connection to FTP server?

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.


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 4 comments so far... add one


CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
4 comments… add one
  • Marvin Jun 14, 2010 @ 20:13

    I’m using FileZilla and all of the “failed” files say that the reason they failed is that they “Timed Out.”

    Is there some other FTP client I should be using instead? Is there anything I can do about this? Is it the server (webhost) itself that is the problem?

    It’s extremely frustrating… I’ve successfully ftp’d many times before, but now I can’t get it to work… (I’m trying to upload and install wordpress – which I’ve done before many times…)

    • 🐧 nixCraft Jun 15, 2010 @ 6:57

      It is possible that network or your ftp server have some sort of problem. You better contact your hosting company.

  • omonitannn oluwasanmi william Oct 5, 2014 @ 20:32

    I created a site but i want to upload PBNL but am having a problem on it

  • omonitannn oluwasanmi william Oct 5, 2014 @ 20:32

    I created a site but i want to upload PBNL but am having a problem on it please help me

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum