NcFTPd general.cf file configuration
Don't forget to restart NcFTPd after modifying the general.cf file.
The server keeps portions of the filesystems information cached for performance. This is called the ls cache because it is mostly used for doing the equivalent of a /bin/ls. The ls cache holds entire directories in a pre-computed form so it can quickly reformat or redisplay one to a remote user.
There is a limit to the number of directories that can be held, no matter what the size of the data in the cache is. You can set the limit by changing the value of ls-max-cache-dirs. If the directories you have typically only have a few files, you can set this number higher, whereas if your directories typically have many files, you should consider decreasing this number.