Support / KnowledgeBase

 
Search the KnowledgeBase Search

How do I change the FTP session timeout on a (dv) server?

  • Applies to: All (dv)

  • Difficulty: Medium

  • Time needed: 10 minutes

  • Tools needed: SSH, Root Access

 
  • Applies to: All (dv)
    • Difficulty: Medium
    • Time Needed: 10
    • Tools Required: SSH, Root Access

Overview

This article has been mirrored from the Parallels Knowledge Base as a courtesy to our (dv) Dedicated-Virtual Server customers. As they are the authoritative source of the information covered in this topic we encourage you to check their original article since this content is subject to change.

(mt) Media Temple makes a best effort to ensure the accuracy of all content contained herein. Please use our feedback form below if you would like to report any inaccuracies. Please note that our feedback form is not an official support channel.

The publishing of this information does not imply support of this article. This article is provided solely as a courtesy to our customers. Please consult our (dv) Scope of Support for further information.

Solution

You can configure different timeouts in the main ProFTPd configuration file. When logged into the shell as root open the /etc/proftpd.conf file and set the time (in seconds) to your desired time. These values should be within the <Global> section of the file.

...
TimeoutNoTransfer  900
TimeoutStalled  600
TimeoutIdle  1200
...

Detailed description for these directives, and many others, can be found at http://proftpd.org/docs/directives/linked/by-name.html.

Once your changes have been made, you will need to restart the service with the following command:


service xinetd restart

User Comments

No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article
Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue