Article overview

Help article

cPanel's FTP is slow

It may happen on a cPanel VPS that using FTP is very slow. This problem occurs if the configured ports for the passive FTP connections are incomplete / incorrect. You can solve this by adjusting the /etc/pure-ftpd.conf file.

Follow the steps in this article as a root user or user with sudo rights


 

Step 1

Open your pure-ftpd config file:

nano /etc/pure-ftpd.conf

 

Step 2

Scroll to the variable PassivePortRange and set this value to:

PassivePortRange 30000 50000

 

Step 3

Restart PureFTPD and process the changes with one of the following commands:

systecmtl restart pureftpd
/scripts/restartsrv_pureftpd

 

Step 4

Check that range 30000 to 50000 in your firewall is open with the command:

cat /etc/firewalld/zones/public.xml

You should see the following line:

<port protocol="tcp" port="30000-50000"/>

When the ports in your firewall and pureftpd match, your FTP connection will work properly.

Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘ContactUs’ button at the bottom of this page.

If you want to discuss this article with other users, please leave a message under 'Comments'.

 

Do you have a good idea?

Give us your idea! If it's popular we'll add it to the wishlist!

Has this article been helpful?

Create an account or log in to leave a rating.

Comments

Create an account or log in to be able to leave a comment.

Are you stuck?

Ask one of our specialists to assist you

Contact us