Wednesday, March 5, 2008

Increasing the file display limit on pure-ftp

By default, pure-ftp has a file display limit of 2000 files. To change this you need to edit the /etc/pure-ftp.conf file.

Step 1) Log into the machine and gain root access
Step 2) Use your favorite text editor to open /etc/pure-ftp.conf
Step 3) Search for the line (the values 2000 8 below may be different):

LimitRecursion 2000 8

Step 4) The first number after LimitRecursion is the display limit of files pure-ftp will show at anyone time. Change it to whatever values you feel is necessary for your server. The second number is the max subdirectory depth shown. You may change this value if necessary as well.
Step 5) Restart the pure-ftpd service

service pure-ftpd restart

No comments: