This article explains how to edit the FTP configuration for Pure-FTP. Editing the FTP configuration for Pure-FTP ensures optimal performance, security, and customisation of the FTP server environment.
To edit the FTP configuration for Pure-FTP, follow these steps:
- Utilize a text editor to create or modify the /var/cpanel/conf/pureftpd/local file.
- Enter your changes in the local file. For example, to set the ForcePassiveIP setting to the IP address, enter the following in the local file-
ForcePassiveIP: 203.0.113.0- To reset that value, update the local file with the following setting-
ForcePassiveIP: ~
- To reset that value, update the local file with the following setting-
- To implement your modifications, execute a force update of FTP using the provided command-
/scripts/setupftpserver pure-ftpd –force
In this manner, you can edit the FTP configuration for Pure-FTP. If you require assistance, feel free to reach out to our support team.
To add FTP accounts in Plesk, see our detailed guide on How to add FTP Account in Plesk