Create a separate FTP account when a developer or tool needs file access to a particular directory. This avoids sharing the main cPanel credential and gives you an access method you can revoke independently.
IN THIS ARTICLE
Check access and requirements
Confirm the service supports FTP accounts and use encrypted FTP over TLS where available. An additional FTP account is not automatically an SSH or SFTP account. Identify the smallest directory it needs and keep a backup before granting write access to a live website.
01 Create a restricted FTP account in cPanel
- Open FTP Accounts in cPanel. Enter the new username and a unique generated password.
- Review the Directory field carefully. Choose the intended website folder or a narrower subdirectory rather than allowing access to the entire account by accident.
- Set the quota where supported, remembering that it cannot override the hosting account’s overall storage limit. Create the FTP account.
- Use the full username and connection details displayed for that account in an FTP client. Select the server’s supported TLS mode and verify its certificate.
- Test listing the intended directory and transferring a harmless test file, then remove that file.
02 Example: give a developer access to one upload directory
If a developer only maintains files in /home/CPANEL_USER/public_html/media, review whether that directory is the smallest appropriate scope. Replace the example with your actual account path and check that it contains no secrets or unrelated customer files.
- Create the separate FTP account and set its Directory to that approved location.
- Connect using the full username and supported FTPS settings shown by cPanel.
- Confirm the client's visible root maps to the assigned directory, rather than assuming a displayed slash means access to the whole server.
- Upload one harmless test file, verify it appears only in the intended location, and test that the account cannot browse above its allowed scope.
Remove the test file afterwards. Directory restriction limits the login's file scope, but write access to a live application still needs care. Revoke the separate account when the work ends.
Confirm the expected result
Confirm the account can reach the required path and cannot browse above its assigned scope. Verify that the application still works after any real upload.
Why does the FTP account fail to sign in or list its directory?
For a login error, check the complete username, protocol and host. For a directory-listing timeout, investigate passive-transfer networking rather than changing the password repeatedly. If SSH-based SFTP is required, request the appropriate supported service access instead of trying an FTP-only user on an SSH port.