pure-ftpd does not show more then 2000 files on Debian and Ubuntu

The pure-ftp daemon by default has a recursion limit of 2000 files, this prevents the server from showing more then 2000 files when you browse a directory with a FTP client. To expand this Limit to e.g 5000 files, create or edit the file /etc/pure-ftpd/conf/LimitRecursion and add a line "5000 500":

echo "5000 500" > /etc/pure-ftpd/conf/LimitRecursion

and then restart pureftpd:

/etc/init.d/pure-ftpd-mysql restart


2 thoughts on “pure-ftpd does not show more then 2000 files on Debian and Ubuntu”

  1. x-f says:

    ~# echo “9000″ > /etc/pure-ftpd/conf/LimitRecursion
    ~# /etc/init.d/pure-ftpd-mysql restart
    Restarting ftp server: /usr/sbin/pure-ftpd-wrapper: Invalid configuration file /etc/pure-ftpd/conf/LimitRecursion: ““9000″” not two numbers
    ~# echo 9000 900 > /etc/pure-ftpd/conf/LimitRecursion
    ~# /etc/init.d/pure-ftpd-mysql restart
    Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -b -D -Y 1 -u 1000 -A -L 9000:900 -O clf:/var/log/pure-ftpd/transfer.log -E -B

  2. Till says:

    You used wrong (double) quotes. When you neter the command on the shell, you have to use the “normal” double quotes (the one that are above the 2 key, at least on my keyboard layout) or single quotes that you have on your keyboard, If you copy the command from the web, it might be that the quotes are replaces with wrong characters, so better type it in manually.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>