EN · $ USD
Web Hosting and cPanel

How to Create an FTP Account and Connect with FileZilla

7 min read Updated: Sunucu Atlas technical team

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
  1. The difference between FTP, FTPS and SFTP
  2. Creating an FTP account in cPanel
  3. Setting up a secure FTPS connection in FileZilla
  4. Uploading files to the right place
  5. Common FileZilla connection errors
  6. FileZilla or cPanel File Manager?
  7. Tips for using FTP securely
  8. Next step: the right hosting for your files

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:

ProtocolDefault portEncryptionCredentials
FTP21None, the password is sent in plain textFTP account
FTPS (explicit TLS)21Encrypted with TLSFTP account
FTPS (implicit TLS)990Encrypted with TLSFTP account
SFTP22 or the SSH port set by the providerEncrypted with SSHA 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.

  1. Log in to cPanel and click the FTP Accounts icon in the Files section.
  2. Enter a username in the Log In field, for example tasarim. Select the relevant domain from the Domain list. Your full username will be tasarim@alanadiniz.com.
  3. Generate a strong password with Password Generator and save it.
  4. 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 to public_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.
  5. In the Quota field, choose unlimited or a specific value in MB.
  6. 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.

  1. In FileZilla, open File > Site Manager (shortcut: Ctrl+S) and click New Site. Give the site a recognizable name.
  2. Protocol: FTP - File Transfer Protocol
  3. Host: alanadiniz.com or ftp.alanadiniz.com. If your domain does not point to this hosting yet, use the server name or IP address shown in cPanel.
  4. Port: 21 (if you leave it blank, 21 is used).
  5. 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.
  6. Logon Type: Normal. User: tasarim@alanadiniz.com, Password: the password you created.
  7. 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.
  8. 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 755 and file permissions 644. 777 permissions 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 .htaccess and .env.
  • Instead of uploading thousands of small files one by one, it is much faster to upload them as a .zip archive 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 .htaccess or wp-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.

For this guide

Recommended plans

Sunucu Atlas web hosting plans come with cPanel FTP accounts, NVMe storage and FTP account limits that grow with your plan, so you can give your team and clients secure, folder-level access.

SA-CP-1

cPanel
Recommended

20 GB NVMe disk

$0.39/mo

+VAT

  • Memory1 GB
  • LocationIstanbul
  • 1 Hosted Domains
  • 50 GB Traffic
  • 5 Email Account Limit
  • 2 Databases

SA-CP-2

cPanel

40 GB NVMe disk

$0.69/mo

+VAT

  • Processor2 cores
  • Memory2 GB
  • LocationIstanbul
  • 1 Hosted Domains
  • 100 GB Traffic
  • 10 Email Account Limit
  • 5 Databases

SA-CP-3

cPanel

60 GB NVMe disk

$0.98/mo

+VAT

  • Processor3 cores
  • Memory3 GB
  • LocationIstanbul
  • 1 Hosted Domains
  • 200 GB Traffic
  • 25 Email Account Limit
  • 10 Databases

Web Hosting — all plans

Need help with setup?

Send questions about your service in a support ticket, and our technical team will walk you through it step by step.