How to manage FTP accounts and sessions in cPanel

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 amount of files to upload or download, using a dedicated FTP client is the easiest and preferred method.

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

 

Creating an FTP account #

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

 

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

  1. Log in to cPanel.
  2. In the FILES section of the cPanel home screen, click FTP Accounts:cPanel - Files - FTP Accounts icon
  3. Under Add FTP Account, in the Log in text box, type the username for the FTP account.
  4. In the Password text box, type the account password.
  5. In the Password (Again) text box, retype the account password.
  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.
  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:
    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.
    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:cPanel - 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.

          Controlling FTP sessions on your web site #

          You can view and disconnect active FTP sessions by using the FTP Session Control feature in cPanel. This feature is useful for viewing general information about your FTP users, and for stopping any unwanted FTP activity on your web site.

          To control and view FTP sessions, follow these steps:

          1. Log in to cPanel.
          2. In the FILES section of the cPanel home screen, click FTP Connections:cPanel - Files - FTP Connections icon

            cPanel lists all active FTP sessions.

          3. To terminate a session, locate the session and then click Disconnect.
          4. Click Disconnect “User to confirm, where User is the name of the account that you want to disconnect.
error: