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.

FTP & Webdav will not connect

Discussion in 'Security' started by Aceaid, Jan 21, 2015.

  1. Aceaid

    Aceaid Member

    Joined:
    Jan 13, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Horsham, United Kingdom
    cPanel Access Level:
    Website Owner
    Hi All,

    I have a problem that my gut feeling is that security or configuration is stopping me connecting to FTP or Webdav.

    Let's take Webdav out of the way for now, in ftp it logs in but at the point of it retrieving the directories it stops and disconnects.

    I am using Pure-FTPD and filezilla. I am trying to login with the same username and password as I have set for WHM and cpanel, I can login fine here.

    Any ideas?

    Many thanks

    Adrian
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's likely you have firewall rules enabled that are blocking the passive FTP ports that are configured in:

    Code:
    /etc/pure-ftpd.conf
    Check to ensure the following line is not disabled in the above file:

    Code:
    PassivePortRange 30000 35000
    Then, ensure the above port range is not blocked in your firewall.

    Thank you.
     
  3. Aceaid

    Aceaid Member

    Joined:
    Jan 13, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Horsham, United Kingdom
    cPanel Access Level:
    Website Owner
    Thanks, I had a feeling it may be something like that. Only problem is that the file doesn't exist. Only files in etc are cacheid and ftpquota, both empty.

    Many thanks

    Adrian
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Your access level is listed as "Website Owner". Do you have "root" access to this server? If not, please consult with your web hosting provider so they can assist you with this issue.

    Thank you.
     
  5. Aceaid

    Aceaid Member

    Joined:
    Jan 13, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Horsham, United Kingdom
    cPanel Access Level:
    Website Owner
    Hi, yes I am logged in as root and can see in WHM the ftp protocol I setup when setting up the server for the first time, Pure-FTPD. It is as if the configuration did not set up correctly.

    Many thanks

    Adrian
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Since you have root access, you can access your server via SSH as root to edit the files referenced in the earlier post.

    Thank you.
     
  7. Aceaid

    Aceaid Member

    Joined:
    Jan 13, 2015
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Horsham, United Kingdom
    cPanel Access Level:
    Website Owner
    HI Michael,

    I edited the file is SSH and also allowed the port access in csf but i still get this error message in Filezilla
    Error: Connection timed out
    Error: Failed to retrieve directory listing

    Any ideas?

    Many thanks

    Adrian
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page