PureFTP not able to list more than 2000 files?

If you using PureFTP as your FTP server and you might wonder why when you perform FTP action and you are not able to list all of your file.

The answer is because of the default PureFTP setting only allow 2000 files to be shown and this is to avoid the FTP services getting higher usage when you using the FTP services.

To check the setting of PureFTP, you may refer to the file named /etc/pure-ftpd.conf

grep LimitRecursion /etc/pure-ftpd.conf

LimitRecursion 2000 8

Edit the value to LimitRecursion 5000 8 and save it and this will allow your FTP list 5000 files instead of default 2000 files.

Then restart the PureFTP services.