Wednesday, January 27, 2010

PureFtp + Not able to list more than 2000 files

Problem: Not able to list more than 2000 files in a directory using Ftp.

Solution:

The pure-ftp by default limit maximum number of # files to be displayed to 2000.

So edit your pureftpd configuration file which is at /etc/pure-ftpd.conf and change the line

LimitRecursion 2000 8

to

LimitRecursion 5000 8

Save the file and restart the service.

service pure-ftpd restart

It will display 5000 files from a directory now.

No comments:

Post a Comment