Server Administration & Management

How to see more than 2000 files in FTP on a cPanel server

So, you have a lot of files on your website, so many that when you login via FTP, it can’t even list them all?  Here’s a quick fix. This only applies if you’re using Pure-FTPD

1. SSH into your server as root

2. Edit /etc/pure-ftpd.conf

# vi /etc/pure-ftpd.conf

3. Change LimitRecursion 2000 8 to LimitRecursion 4000 8

2000 8 –> 4000 8

4. Restart pure-ftpd in WHM or in SSH via service pure-ftpd restart

# /etc/init.d/pure-ftpd stop

# /etc/init.d/pure-ftpd start

You can increase 2000 to however many files you need to be displayed in the FTP Client window, but be aware that it may take longer to load, and your session may timeout.


May 15, 2011 Posted by | cPanel, FTP, Pure-FTPd | , , | 3 Comments