Short answer: Create an account under cPanel FTP Accounts, then connect via FileZilla using host ftp.yourdomain.com, port 21, and the newly generated username and password credentials.
Step-by-step guide to creating dedicated FTP accounts in cPanel, restricting directory paths for contractors, and configuring FTP clients like FileZilla with TLS encryption.
Quick reference
| Host / Server | yourdomain.com or server hostname |
|---|---|
| Port | 21 (FTP / FTPS Explicit TLS) |
| Encryption | Require explicit FTP over TLS |
| Transfer Mode | Passive (Recommended for NAT/Firewalls) |
| Username Format | username@yourdomain.com (Addon user) or main cpanel username |
Steps
- Access FTP Accounts: Log in to your cPanel dashboard, scroll to the Files section, and click on FTP Accounts.
- Enter Credentials: In the Add FTP Account section:
- Log in: Enter your desired username (e.g.,
developer). Note that the full username will bedeveloper@yourdomain.com. - Password: Generate a strong password using the Password Generator (minimum 12 characters).
- Log in: Enter your desired username (e.g.,
- Define Directory Root: By default, cPanel assigns
public_html/developer.- To give access to the entire website, change the path to
public_html. - To restrict access to a specific subfolder or project, set
public_html/project-folder.
- To give access to the entire website, change the path to
- Configure FileZilla Client: Open FileZilla on your computer:
- Go to File > Site Manager > New Site.
- Protocol: Select
FTP - File Transfer Protocol. - Host: Enter your domain name or server IP address.
- Encryption: Select
Require explicit FTP over TLSfor secure transport. - Logon Type: Select
Normaland enter your full FTP username and password. - Transfer Settings Tab: Ensure Transfer Mode is set to Passive.
Troubleshooting and tips
- Error: 530 Login incorrect: Verify that you are entering the full username (
user@domain.com) for additional accounts. The primary cPanel username does not use the@domain.comsuffix. - Error: Connection timed out / MLSD hang: Ensure Transfer Mode in FileZilla is set to Passive. Active mode is frequently blocked by local ISP routers and firewalls.
- Certificate warning: When connecting via FTPS, your client will prompt you to trust the server's SSL certificate. Check "Always trust this certificate" and click OK.
- Error 421 (Too Many Connections): In cPanel, navigate to Files > FTP Connections to review and disconnect idle or hung sessions that block new logins.
- WinSCP Setup: In WinSCP, set File Protocol to FTP, Encryption to
TLS/SSL Explicit encryption, and Port to 21.
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket