Proftpd: Make Sure FTP Client Does Not Timeout

by Vivek Gite on December 18, 2008 · 2 comments

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.

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 2 comments… read them below or add one }

1 Marvin June 14, 2010

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…)

Reply

2 Vivek Gite June 15, 2010

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

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 14 + 10 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: