The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with FTP

Discussion in 'Security' started by cgimickalo, Apr 19, 2013.

  1. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What FTP client is he using? I'm just curious, not sure it matters here.
     
  3. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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.
     
  4. caisc

    caisc Active Member

    Joined:
    Oct 5, 2011
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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.
     
  5. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    Thanks I think this did the trick. Waiting to hear back from the customer.

    Mike
     
  6. caisc

    caisc Active Member

    Joined:
    Oct 5, 2011
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    @cgimickalo - gr8 to see that it helped you, BTW what OS are you using on your server, is it CloudLinux?
     
  7. cgimickalo

    cgimickalo Well-Known Member

    Joined:
    Apr 19, 2013
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    N.W. Iowa
    cPanel Access Level:
    Root Administrator
    We're running RH Linux. thanks again.

    Mike
     
  8. skyman2610

    skyman2610 BANNED

    Joined:
    Apr 23, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    cPanel Access Level:
    Website Owner
    about this your error, follow me, you updated CentOs x64 via yum so it appeared error: "Can't download folder list"
     
  9. TraslochiVarese

    TraslochiVarese Registered

    Joined:
    May 1, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    I have a different problem but not far. I cannot see the list of file....
     
Loading...

Share This Page