How to manage FTP accounts in cPanel

Last modified: Monday January 9th, 2023


 

This article describes how to add, modify, and delete FTP accounts for your website.

About the File Transfer Protocol (FTP)

The File Transfer Protocol (FTP) is a standard network protocol that is used to transfer files between computers. To download or upload files, a user uses an FTP client to connect to an FTP server.

There are many FTP clients available for all of the major operating systems. There are standalone FTP clients, such as FileZilla, and most web browsers have integrated FTP functionality. Generally, if you have a large number of files to upload or download, using a dedicated FTP client is the easiest and preferred method. For more information about how to use an FTP client with your hosting account, please see this article.

Using cPanel, you can set up FTP accounts so that specific external users can access a restricted part of your website.

By its very nature, FTP allows external users to modify files on your website (although only in the directory or directories to which you have granted access). External users can upload, download, and delete files. Please keep this in mind when you set up an FTP account for a user.

Creating an FTP account

When you create an FTP account, cPanel creates a directory on your website that allows external users (who know the username and password) to upload and download files to and from that location.

All users with the correct username and password will be able to add, edit, and delete files from the directory that you specify for the FTP account, as well as any subdirectories beneath it.

To create an FTP account on your website, follow these steps:

  1. Log in to cPanel.
  2. In the FILES section of the cPanel home screen, click FTP Accounts:                                    How to manage FTP accounts in cPanel kb cpanel 78 files ftp accounts icon
  3. Under Add FTP Account, in the Login text box, type the username for the FTP account.
    FTP account usernames are in the format [email protected], where the user represents the value you type in the Login text box, and example.com represents your domain name.
  4. In the Password text box, type the account password.
  5. In the Password (Again) text box, retype the account password.
    You can click Password Generator and cPanel generates a random, strong password for you.
  6. In the Directory text box, type the directory to which the FTP account will have access. By default, this directory is located under your public_html directory, and its name is the FTP account username.
    If you specify the top level of the website by typing a slash (/), then all users who enter a valid username and password will be able to add, edit, and delete all files on your website. We strongly advise you to limit an FTP account to a subdirectory on your website.
  7. Specify the quota for the FTP account. By default, the quota is unlimited. To set a quota, type the number, in megabytes, for the maximum directory size.
  8. Click Create FTP Account. cPanel creates the account.

Changing the password for an FTP account

It is a good security practice to regularly change FTP account passwords. You should always change an FTP account password if you suspect an unauthorized user has gained access to the account.

To change the password for an FTP account, follow these steps:

  1. Log in to cPanel.
  2. In the FILES section of the cPanel home screen, click FTP Accounts:                             How to manage FTP accounts in cPanel kb cpanel 78 files ftp accounts icon
  3. Under FTP Accounts, locate the account password that you want to change, and then click Change Password.
  4. In the Password text box, type the new password.
  5. In the Password (Again) text box, retype the new password.
    You can click Password Generator and cPanel generates a random, strong password for you.
  6. Click Change Password. cPanel changes the account password.

Deleting an FTP account

To delete an FTP account, follow these steps:

  1. Log in to cPanel.
  2. In the FILES section of the cPanel home screen, click FTP Accounts:                                How to manage FTP accounts in cPanel kb cpanel 78 files ftp accounts icon
  3. Under FTP Accounts, locate the account that you want to delete, and then click Delete.
  4. You can delete just the FTP account, or you can delete the FTP account and all of its associated files:
    • To delete just the FTP account, click Delete.
    • To delete the FTP account and all of the files in the account’s directory, select the Delete the User’s Home Directory check box, and then click Delete.

More Information

For more information about FTP, please visit http://en.wikipedia.org/wiki/File_Transfer_Protocol.

Was this article helpful?
Views: 59
Sidebar

Beehosting.pro website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Menu