In short
To connect to your hosting with FileZilla, first create an FTP account in the format user@yourdomain.com on the FTP Accounts page in cPanel. Then, in FileZilla's Site Manager, enter your domain as the host, port 21, and Require explicit FTP over TLS as the encryption, set Logon Type to Normal and connect with your password. Passive mode should be enabled.
In this guide
To connect to your hosting with FileZilla, you need two things: an FTP account created in cPanel and the correct connection settings in FileZilla. For a secure connection, simply set encryption to Require explicit FTP over TLS (FTPS) so your password and files never travel across the network as plain text. Below you will find the whole process step by step, from creating the account to fixing the most common error messages.
The difference between FTP, FTPS and SFTP
These three acronyms are often confused, but they are different protocols:
| Protocol | Default port | Encryption | Credentials |
|---|---|---|---|
| FTP | 21 | None, the password is sent in plain text | FTP account |
| FTPS (explicit TLS) | 21 | Encrypted with TLS | FTP account |
| FTPS (implicit TLS) | 990 | Encrypted with TLS | FTP account |
| SFTP | 22 or the SSH port set by the provider | Encrypted with SSH | A user with SSH access |
FTPS is classic FTP encrypted with TLS, and it works with the additional FTP accounts you create in cPanel. SFTP is the file transfer component of the SSH protocol and requires SSH access on your account. On shared hosting, FTPS is the most common and practical secure method, so this guide is based on it.
Creating an FTP account in cPanel
When cPanel is set up, an FTP account with your main username already exists and has access to your entire home directory. For day-to-day work, or for an agency or freelancer, it is much safer to create separate accounts that can access only the relevant folder.
- Log in to cPanel and click the FTP Accounts icon in the Files section.
- Enter a username in the Log In field, for example
tasarim. Select the relevant domain from the Domain list. Your full username will betasarim@alanadiniz.com. - Generate a strong password with Password Generator and save it.
- Pay attention to the Directory field. By default cPanel fills it with the username, such as
public_html/tasarim. If the account should access the whole site, change it topublic_html; if it should access only a subfolder, enter that folder. This field is the security boundary that defines which parent directories the FTP user cannot see. - In the Quota field, choose unlimited or a specific value in MB.
- Click Create FTP Account.
The Configure FTP Client link next to the new account in the account list shows the server name and port; check the FTP Server value there before you enter it in FileZilla.
The number of FTP accounts is limited by your plan. On Sunucu Atlas cPanel web hosting plans, the limit is 2 accounts on SA-CP-1, 10 on SA-CP-3 and 50 on SA-CP-5; SA-CP-6 is unlimited. If you work with several people or an agency, choosing a plan that lets you give each of them a separate account is much safer than sharing passwords.
Setting up a secure FTPS connection in FileZilla
Download FileZilla Client only from the official website (filezilla-project.org); installers from third-party download sites may bundle unwanted software. Saving the connection in Site Manager instead of typing it in every time is both faster and less error-prone.
- In FileZilla, open File > Site Manager (shortcut:
Ctrl+S) and click New Site. Give the site a recognizable name. - Protocol:
FTP - File Transfer Protocol - Host:
alanadiniz.comorftp.alanadiniz.com. If your domain does not point to this hosting yet, use the server name or IP address shown in cPanel. - Port:
21(if you leave it blank, 21 is used). - Encryption:
Require explicit FTP over TLS. The "Use explicit FTP over TLS if available" option is weaker because it can fall back to plain FTP if encryption fails. - Logon Type:
Normal. User:tasarim@alanadiniz.com, Password: the password you created. - On the Transfer Settings tab, make sure the transfer mode is Passive, check Limit number of simultaneous connections and keep the value between 2 and 4.
- Click Connect.
On the first connection, FileZilla may show an Unknown certificate window. The host name on the certificate may be the server's name and can look different from the domain you entered; this is normal on shared servers. After confirming that the certificate details belong to your hosting provider's server, approve it with Always trust this certificate in future sessions.
Uploading files to the right place
Once connected, the left pane shows your computer and the right pane shows the server. Files for your main domain must be uploaded to public_html; this is the folder visitors see when the site loads. Addon domains usually point to their own folders; for details, see the guide to adding a second site with an addon domain in cPanel.
- Folder permissions should usually be
755and file permissions644.777permissions are a security risk and also cause 500 errors on some servers. - To make FileZilla show hidden files, enable Server > Force showing hidden files; otherwise you will not see files such as
.htaccessand.env. - Instead of uploading thousands of small files one by one, it is much faster to upload them as a
.ziparchive and unpack it with Extract in cPanel File Manager.
Common FileZilla connection errors
530 Login authentication failed
The username or password is wrong. For additional FTP accounts, the username must include the domain, in the format kullanici@alanadiniz.com. Reset the password on the FTP Accounts page in cPanel and try again. Many failed attempts in a row can get your IP address temporarily blocked by the server firewall.
Connection timed out / ECONNREFUSED
The host name may be wrong, the domain may not point to this server yet, or your local network may be blocking port 21. First, try entering the IP address in the host field. If you just changed your domain's DNS records, you may need to wait for propagation to finish; see the DNS propagation guide for how long that takes. FTP ports may be closed on corporate networks and some mobile connections, so test from a different network.
Failed to retrieve directory listing
Authentication succeeded, but the data connection could not be established. This is almost always related to the transfer mode: set the mode to Passive in Site Manager. If the problem continues, check that the firewall or antivirus software on your computer allows FileZilla's outgoing connections.
421 Too many connections
The number of simultaneous connections from the same IP has exceeded the server limit. Lower the number of simultaneous connections in Transfer Settings and close any other FTP sessions that are still open.
TLS handshake or GnuTLS errors
If you are using an old version of FileZilla, update it. If your security software inspects encrypted traffic, exclude FileZilla from that inspection.
FileZilla or cPanel File Manager?
You do not need to open an FTP client for every file task. cPanel's File Manager runs in your browser and requires no extra software or FTP account. Which one fits better depends on the job:
- Editing a single file (for example
.htaccessorwp-config.php): File Manager's built-in editor is faster. - Extracting or compressing archives: The Extract and Compress actions in File Manager run on the server, so they are much faster than FTP.
- Syncing large numbers of files: FileZilla's directory comparison and transfer queue shine here, and interrupted transfers can resume where they left off.
- Giving someone limited access: Creating an FTP account limited to the relevant folder is always safer than sharing your cPanel login.
- Working directly from a code editor: Many code editors support FTPS connections, so files you save are uploaded to the server automatically.
For development teams that use version control, Git-based deployment is a more traceable method than FTP; it keeps a record of who changed what and when.
Tips for using FTP securely
- Do not use unencrypted plain FTP; on shared networks such as cafes and hotels in particular, your password can be captured easily.
- When the work is done, delete FTP accounts you created for outside people or change their passwords.
- FileZilla stores passwords on your computer by default; enable master password protection under Edit > Settings > Interface.
- Back up your site before making major changes; the cPanel backup guide walks you through the steps.
Next step: the right hosting for your files
If you regularly upload files over FTP or give teammates or clients their own access, your plan's FTP account and disk limits become the deciding factors. For a single site, the SA-CP-1 hosting plan with 2 FTP accounts and 20 GB of NVMe storage is enough. If you work with several people or more than one site, SA-CP-3 with 10 FTP accounts and 60 GB of NVMe storage is a good fit, and at agency scale the SA-CP-6 hosting plan with unlimited FTP accounts is the right choice. You can compare all plans, running on LiteSpeed in an Istanbul data center, on the Sunucu Atlas web hosting page.
Frequently asked questions
How should I enter the FTP username in FileZilla?
For additional FTP accounts created in cPanel, the username is in the format user@yourdomain.com and must include the domain. The FTP user for the main cPanel account is just your cPanel username.
Which encryption option should I use in FileZilla?
Use Require explicit FTP over TLS. This setting creates an encrypted FTPS connection over port 21 and does not fall back to plain FTP if encryption fails.
How do I fix the Failed to retrieve directory listing error?
Set the transfer mode to Passive in Site Manager. If the problem persists, check that the firewall or antivirus software on your computer is not blocking FileZilla's connections.
Are FTP and SFTP the same thing?
No. FTP and FTPS work with cPanel FTP accounts over port 21, while SFTP uses the SSH protocol and requires SSH access on your account.
Can I limit an FTP account to a single folder?
Yes. When creating the FTP account in cPanel, enter only that folder in the Directory field; the user cannot see any directories above it.