var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
I am not 100% sure if i am going to be able to describe the problem, but i hope someone will get an idea what i am talking about.
I have pure-ftpd installed on my server.
In one of the folders in my public_html i have more then 10 000 files.
When i ftp to my username using FlashFXP i am unable to list more then 1998 files.
Does it have to do anything with passive ports range or ?
How can i fix the problem? If i need to enable passive ports, please tell me what port range should i use, and how should i enter it in /etc/sysconfig/iptables.
from the docs, you need to start with -L flag:
-L max files:max depth
Avoid denial-of-service attacks by limiting the number of dis-
played files in a 'ls' and the maximum depth of a recursive
'ls'. Defaults are 2000:5 (2000 files displayed for a single
'ls' and walk through 5 subdirectories max).
so for example: -L 10000:5
means 10,000 files, and dir depth of 5 levels
It has nothing to do with the iptables OR passive Ftp. The pure-ftp by default limit maximum number of # files to be displayed to 2000.
So edit your pureftp configuration file which is at /etc/pure-ftpd.conf and edit the value of the following directive as per your wish
LimitRecursion 2000 8
In the above example,
2000 is the number of files that are displayed within a directory
8 is the maximum number of directories it will travel through recursively.
You need to restart the ftp service once you make the changes.
Last edited by madaboutlinux; 10-24-2009 at
| Server Setup | Security | Optimization | Troubleshooting | Server Migration
| Monthly and Task basis services.
: madaboutlinux[at]hotmail.com |
Go to the FTP configuration file ( in this case, /etc/pure-ftpd.conf )
Change the value for the variable 'LimitRecursion' to match your requirement.
Yep, that worked
That was easy, next time i have to read more
Thank you all!
Glad to hear that it worked. Cheers
By jaseeey in forum Hosting Security and Technology
Last Post: 11-09-2008, 08:33 AM
By shellskynet in forum Hosting Security and Technology
Last Post: 03-23-2006, 03:49 PM
By synx in forum Hosting Security and Technology
Last Post: 12-19-2005, 07:36 AM
By N9ne in forum Hosting Software and Control Panels
Last Post: 03-09-2003, 07:42 PM