On Cpanel server with Pure-FTPd, FTP is showing only 2000 files in a folder. Folder contains about 4000 files. On FTP Client, getting following error
150 Accepted data connection
226-Options: -a -l
226 Output truncated to 2000 matches
To correct this problem, edit pure-ftpd configuration file at /etc/pure-ftpd.conf and modify value of LimitRecursion, by default, it is set to 2000
# ‘ls’ recursion limits. The first argument is the maximum number of
# files to be displayed. The second one is the max subdirectories depthLimitRecursion 20000 8
Now upto 20000 files will listed by FTP Client. To get pure-ftpd, using this new value, you have to restart pure-ftpd
root@host [/etc/init.d]# service pure-ftpd stop
Stopping pure-config.pl:
Stopping pure-authd:root@host [/etc/init.d]# service pure-ftpd start
Starting pure-config.pl: [ OK ]
Starting pure-authd:
root@host [/etc/init.d]#