You can modify the home directory path and the storage limit (quota) for an existing FTP account within cPanel. This allows you to restrict an FTP user's access to a specific folder or limit the amount of data they can upload.
Before you begin
You will need:
A cPanel account with the permissions to manage FTP accounts.
The specific FTP account name or username you wish to modify.
Change the Home Directory or Quota
Log in to your cPanel account.
Locate the Files section and select FTP Accounts.
Find the account you wish to modify in the list of FTP accounts.
Click the Edit button (or the Edit icon) next to that account.
To change the location, locate the Directory field and enter the new path.
To change the storage limit, locate the Quota field and enter the new limit (e.g.,
500MBorUnlimited).Click Change or Update at the bottom of the form.
Confirm the result
The account details will refresh, and the updated Directory or Quota values will be displayed next to the account in the list.
You can verify the change by attempting to log in with the FTP account; the user will only be able to access the files within the specified directory.
Limitations
If you change the Home Directory to a path that does not exist or that the user does not have permissions to access, the FTP connection will fail.
Changing the Home Directory does not move the existing files; it only changes the "starting point" for the user when they log in.
