Child pages
  • How to customize your FTP Server Configuration
Skip to end of metadata
Go to start of metadata

for cPanel & WHM version 60 and later

Overview

In cPanel & WHM version 60, we enabled passive mode for both ProFTP and PureFTP servers by default. This document explains how to make customizations to your FTP server's default configurations.

PureFTP

To edit the FTP configuration for a PureFTP server, perform the following steps:

  1. Log in to the server as the root user via SSH.
  2. Open the /var/cpanel/conf/pureftpd/local file, if it already exists, with a text editor. If it does not already exist, copy the /var/cpanel/conf/pureftpd/main file to the /var/cpanel/conf/pureftpd/local file.
  3. Make the desired changes.
  4. Apply your changes to the other configuration files and restart the PureFTP service. To do this, run the following command:

    /usr/local/cpanel/scripts/setupftpserver pureftpd --force

ProFTP

To edit the FTP configuration for a ProFTP server, perform the following steps:

  1. Log in to the server as the root user via SSH.
  2. Open the /var/cpanel/conf/proftpd/local file, if it already exists, with a text editor. If it does not already exist, copy the /var/cpanel/conf/proftpd/main file to the /var/cpanel/conf/proftpd/local file.

  3. Make the desired changes.
  4. Apply your changes to the other configuration files and restart the ProFTP service. To do this, run the following command:

    /usr/local/cpanel/scripts/setupftpserver proftpd --force

Additional documentation