Create FTP account that only has access to a sub domain folder?

How can I create an FTP account that only has access to a subdomain folder?t 

This is possible to do in the FTP section of one of our control panels. If you create a subdomain stock.domain.com it will point to the folder public_html/stock unless you specify otherwise. Go to the ftp section of the control panel and create a new FTP account called stock. The username will become stock@domain.com with the password you choose. This ftp account will only have access to the subdomain folder.

Note: If you are using the Admin Center to create the ftp accounts you must resync ftp passwords after the account is created.

You may also refer our following tutorial to know more about ftp creation: Create and Manage FTP Accounts in cPanel

If you need any further assistance please contact our support department.