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.
You can configure the total size of the ls cache that each server process has. Each process has its own cache, so if you said you wanted 50 users, there would be 50 caches of the size you set ls-cache-size to. This number reflects the amount of memory set aside to hold information about subdirectory items, like filenames, file sizes, and file modification times.
Set the ls-cache-size variable to the number of bytes each process will use for its ls cache.