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 modification 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 , , .


7 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. PiterJankovich says

    My name is Piter Jankovich. oOnly want to tell, that your blog is really cool
    And want to ask you: is this blog your hobby?
    P.S. Sorry for my bad english

  2. admin says

    HI,

    Yes..Piter this is my hobby and i am also a webmaster as well as Linux Administrator in a reputed web hosting company…

  3. Autism Symptoms says

    this post is very usefull thx!

  4. admin says

    No….your hosting provider is wrong…they can change the recursion limit…..there is no problem either it’s dedicated hosting or shared hosting….

    Enjoy Linux.. :)

Continuing the Discussion

  1. How to change recursion limit(file limit list) in pure-ftp. – www … | Linux Affinity linked to this post on March 16, 2010

    [...] this article: How to change recursion limit(file limit list) in pure-ftp. – www … Posted in: How To's, Server ADD [...]

  2. Transferring Files Between Windows and Unix | Download Zone linked to this post on June 12, 2010

    [...] How to change recursion limit(file limit list) in pure-ftp. – Unix … [...]

  3. No, you can’t have a million files in your directory or “why WordPress’s storing pictures into subdirectories (year/month) is good?” | Periodical solutions of everyday problems linked to this post on August 19, 2010

    [...] filesystem. Hosting provider told me that the limit is set by FTP recursion (read sth about that on UnixSurgeon) and this variable cannot be changed because site is on shared hosting. [...]



Some HTML is OK

or, reply to this post via trackback.