cgimickalo

Well-Known Member
Apr 19, 2013
78
0
6
N.W. Iowa
cPanel Access Level
Root Administrator
Hello,

we are using pure-ftpd on our server and one of our customers keeps getting this error message:
Code:
Can't download folder list
I'm not sure what type of error this is, never seen this before, is there something I can change in the pur-ftpd.conf file to correct this?

Thank you,

Mike
 

cgimickalo

Well-Known Member
Apr 19, 2013
78
0
6
N.W. Iowa
cPanel Access Level
Root Administrator
they've tried 2 or 3 different client FTP programs. It maybe our CSF firewall blocking, I noticed in the message log indicating a kernel TCP_OUT blockage from their IP address. They're using port 21 and it's open.
 

caisc

Well-Known Member
Oct 5, 2011
73
2
58
India
cPanel Access Level
Root Administrator
Here is the solution to this -


Login to the server using SSH as root user
Open the file /etc/pure-ftpd.conf
Scroll down and look for the line that says #PassivePortRange 30000 35000
Make sure it is not commented out (remove the # at the starting of the line)
Save the file
Restart the FTP server


Now Login to your WHM and go Plugin section --> ConfigServer Security & Firewall
and Edit the configuration file for the csf firewall and lfd so that you Add the port range 30000:35000 to TCP_IN

Now, restart CSF and test FTP again. You should be able to connect with FTP now.
 

cgimickalo

Well-Known Member
Apr 19, 2013
78
0
6
N.W. Iowa
cPanel Access Level
Root Administrator
Here is the solution to this -


Login to the server using SSH as root user
Open the file /etc/pure-ftpd.conf
Scroll down and look for the line that says #PassivePortRange 30000 35000
Make sure it is not commented out (remove the # at the starting of the line)
Save the file
Restart the FTP server


Now Login to your WHM and go Plugin section --> ConfigServer Security & Firewall
and Edit the configuration file for the csf firewall and lfd so that you Add the port range 30000:35000 to TCP_IN

Now, restart CSF and test FTP again. You should be able to connect with FTP now.
Thanks I think this did the trick. Waiting to hear back from the customer.

Mike