Cart
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.


 

Step 1

Open your pure-ftpd config file:

nano /etc/pure-ftpd.conf

Are you not using our images for cPanel, or using an older installation? Your configuration may than be in:

nano /etc/pure-ftpd/pure-ftpd.conf
nano /etc/pure-ftpd/pure-ftpd-mysql.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:

systemctl restart pure-ftpd
/scripts/restartsrv_pureftpd
systemctl restart pure-ftpd-mysql

 

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?

Thanks for your feedback!

Feedback? Let us know in the discussion below.

Comments

You can use Markdown to format your response.
Logged in as: transipdemo

Are you stuck?

Ask one of our specialists to assist you

Contact us