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
Open your pure-ftpd config file:
Scroll to the variable PassivePortRange and set this value to:
PassivePortRange 30000 50000
Restart PureFTPD and process the changes with one of the following commands:
systecmtl restart pureftpd/scripts/restartsrv_pureftpd
Check that range 30000 to 50000 in your firewall is open with the command:
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'.