> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to create an FTP account in cPanel?

You can use your [cPanel](https://help.ex2.com/en/article/what-is-cpanel-vq3toz/?bust=1784206091492) username and password to access all folders and files via [FTP](https://help.ex2.com/en/article/what-is-the-ftp-protocol-jhosf3/?bust=1784053757312). However, if you want to create an FTP user account for a specific folder or you don't want to allow access to your root files then you can create a separate FTP Account.

# Here's how create an FTP account in cPanel

1. [Log into your cPanel account](https://help.ex2.com/en/article/how-to-log-in-to-my-cpanel-account-xyoqm0/?bust=1676305236426).

2. In the Files section, click on FTP Accounts Icon.

 ![](https://www.ex2.com/clients/img/cpanel-ftp-icon.gif)

3. Under Add FTP Account text, fill in the following details:

*   Log in: FTP Username like new-user (without space)
*   Password: (Enter new FTP Password or generate a new password by clicking on the Password Generator button)
*   Directory: If you want to give access to the entire /public_html folder, enter public_html or change folder path to a different path like public_html/new-user, and your FTP user will be granted access to only the new-user folder. Your FTP user will also be unable to access folders outside of the public_html/new-user folder.
*   Quota: Specify the quota in numerical words or select unlimited.

![](https://www.ex2.com/clients/img/new-ftp-account.gif)

4. Click on the Create FTP Account button.

Now you can access your FTP Account by using your newly-created FTP account like:

*   Host: Your Website IP or enter your website name like ftp.example.com (replace example.com with your website address).
*   Username: NewFTPUser@example.com
*   FTP Port: 21 (Default port is 21)
*   FTP Password: Your FTP Password