To create an FTP account you would need to login to your cPanel account.
Select FTP accounts:
Enter the login details you wish to use.
You’ll notice that the Directory field will be automatically filled. This is an example of what it would look like initially:
For the FTP account to connect to the root folder, this field needs to be changed to the following:
Lastly, click on Create FTP Account
You are all set!