Skip to content


How to change recursion limit(file limit list) in pure-ftp.

Today when i am uploading some documents( around 7000 documents) using pure-ftp.Every thing is fine means documents are fine uploading.But when i have cross checked our uploaded files i have seen only 1999 documents have uploaded.If we refresh the directory there is no change in count of documents.

Solution :- Just login to your Server with root user and do the following changes in your ftp configuration :-

1. Open the main ftp configuration file.
2. root@linuxdude[~]# vi /etc/pure-ftpd.conf
3. Just check the line no. 164 :-

——————————————————————–

# ‘ls’ recursion limits. The first argument is the maximum number of
# files to be displayed. The second one is the max subdirectories depth

LimitRecursion 2000 8
——————————————————————–

4. edit /etc/pure-ftpd.conf and change line 164 to:

# ‘ls’ recursion limits. The first argument is the maximum number of
# files to be displayed. The second one is the max subdirectories depth

LimitRecursion 5000 15

5.Just save the file after modifaication and restart the pureftp server with the following command :-

root@linuxdude[~]# /etc/init.d/pure-ftpd restart

Now you can upload total 5000 files through ftp and 15 parallel subdirectories are allowed.

Enjoy Linux.. :)

Posted in Cpanel, Linux tutorials, lamp server.

Tagged with , , .