16
Pure-Ftp File display limit
Filed Under (cPanel/WHM, Linux) by WebScHoLaR on 16-02-2011
Tagged Under : display limit, ftp, pure-ftp, recursion
pure-ftp is a popular FTP Server. By default has a display limit of 2000 files, this prevents the server from showing more then 2000 files when you browse a directory with a FTP client. If there will be more than 2000 files, then the FTP client will only show the first 2000 files and rest of the files will not appear. You will most likely see following error:
226-Options: -l
226 Output truncated to 2000 matches
In pure-ftp, this limit can be raised. LimitRecursion is the parameter that defines this limit. It is usually specified inside pure-ftpd.conf. In order to raise the limit the parameter can be set as:
LimitRecursion 5000 15
The first argument is the maximum number of files to be displayed. The second one is the max subdirectories depth. FTP server needs to be restarted after this change so that the new settings can be applied:
/etc/init.d/pure-ftpd restart
