Internet · March 15, 2015

Solutions For FTP Only Shows 1998 Files In Linux Server

FTP Only Shows 1998 Files

Young Free have several Folders which contains more than 30k files. It is very inconvenient for me to manage these files through FTP.

pure-ftpd-conf

Why Only 1998 Files

One reason is the defaut setting of FTP server limited the files recursion number.  Such as the most popular FTP server for Linux is PureFTPd, which set the recursion limitation is 2000 (1998files) and 8 folder depth.

Solution

Young Free’s FTP server is PureFTPd so the solution is as follows.

1. Locate and edit /usr/local/pureftpd/pure-ftpd.conf
2. Locate LimitRecursion  , then modify the number 2000 to a ideal one, 5000 for example.
3. Restart  purefptd

Then reconect your FTP, everything is OK now.