FTP FAQ

How do I create Domain Account on a dedicated server, for connecting the site using external FTP software?

You can connect to any site through external FTP software by using the main cPanel interface user and password. If you wish to be able to FTP to only a specific directory, or have a different user, you will need to create an FTP account through the FTP Manager in your cPanel interface.

My FTP password isn't working (or I forgot my FTP password). How can I reset it?

  1. Log into cPanel.
  2. Click FTP Accounts.
  3. Under Account Management, locate the correct account and click Change Password.

How can I turn off anonymous FTP?

Under the FTP menu in X3, go to Anonymous FTP and make sure the boxes next to the following options are turned off:
  • Allow anonymous access to ftp://ftp.domain.com
  • Allow anonymous uploads to ftp://ftp.domain.com/incoming

I have more than 2000 files in a folder, but only 1998 files show on the FTP client.

By default, Pure-FTPd only shows up to 2000 files in each folder.

If you're using Pure-FTPd, and you want to display more than 2000 files, you'll have to edit the pure-ftpd.conf file via a command line text editor.

You'll need to edit the line that says:

LimitRecursion 2000 8

I am a reseller. Is there a backdoor to view my clients' FTP without knowing the password?

There is no plaintext record, even for root, to view client passwords. The only copies on the server will be in the password hashes in the /etc/proftpd/* files.

How can I deny access for a problem FTP account?

You will need to block FTP access for the cPanel account that owns the FTP account. Please see our documentation on using the /etc/ftpusers file.

How do I make changes to the FTP configuration at the command line?

You can change many FTP configuration settings through the following file: /var/cpanel/conf/pureftpd/main

To determine your FTP server, perform the following command:

grep ftpserver /var/cpanel/cpanel.config

You will receive one of the following two answers:

  • ftpserver=proftpd
  • ftpserver=pureftp

Pure-FTP

To edit the FTP configuration for Pure-FTP:

  1. Erase the cache file: rm -f /var/cpanel/conf/pureftpd/main.cache
  2. Edit the main configuration file with a text editor (such as vi): vi /var/cpanel/conf/pureftpd/local
  3. If you wish to change the state of Allow Anonymous Logins, run the desired command:
    • To Disallow Anonymous Logins, run: touch /var/cpanel/noanonftp
    • To Allow Anonymous Logins, run: rm -f /var/cpanel/noanonftp
  4. To apply your changes, you can force an update of FTP: /usr/local/cpanel/scripts/ftpup --force

ProFTP

To edit the FTP configuration for ProFTP:

  1. Erase the cache file: rm -f /var/cpanel/conf/proftpd/main.cache
  2. Edit the main configuration file with a text editor (such as vi): vi /var/cpanel/conf/proftpd/local
  3. If you wish to change the state of Allow Anonymous Logins, run the desired command:
    • To Disallow Anonymous Logins, run: touch /var/cpanel/noanonftp
    • To Allow Anonymous Logins, run: rm -f /var/cpanel/noanonftp
  4. To apply your changes, you can force an update of FTP: /usr/local/cpanel/scripts/ftpup --force

Topic revision: r10 - 02 Jan 2013 - 15:12:14 - Main.LaurenceSimon