How to establish an FTP connection over SSL?
This article explains how to securely connect to your hosting account using FTP over SSL/TLS (FTPES) with FileZilla.
Overview of FTP and Secure Protocols
FileZilla supports multiple file transfer protocols:
- FTP (File Transfer Protocol): Standard, unencrypted connection.
- SFTP (SSH File Transfer Protocol): Secure connection over SSH (used when SSH access is enabled and for root servers).
- FTPS (FTP over implicit TLS/SSL): Secure connection established immediately upon connection.
- FTPES (FTP over explicit TLS/SSL): Starts as FTP and upgrades to a secure TLS/SSL connection.
Recommended option: If you need a secure FTP connection over SSL/TLS, use FTPES (explicit TLS/SSL).
Note: Implicit FTPS should only be used if explicitly required by the server.
Prerequisites
Before you begin, ensure you have:
- FileZilla Client installed
- FTP username and password
- Domain name or server IP address
- A Linux-based hosting server with cPanel access (required for FTPS/FTPES)
Platform-Specific Notes
Linux-based Servers (cPanel):
FTPS and FTPES are supported only on Linux-based servers
Authentication must be done using the cPanel username only
Hostname can be the domain name (if correctly pointing) or the server IP address
Windows-based Servers:
FTPS and FTPES are not supported
Secure FTP connections over SSL/TLS will not work
The hostname must be the server IP address
Important: FTPS and FTPES work only with cPanel usernames on Linux-based servers.
Steps to Configure FTPES in FileZilla (Linux Servers )
- Open FileZilla.
- Go to File → Site Manager.
- Click New Site.
- Enter the following details:
Host: Domain name (if pointing to the server) or server IP address
(For Linux cPanel servers)
Port: 21 (default FTP port)
Protocol: FTP – File Transfer Protocol
Encryption: Use explicit FTP over TLS if available
Logon Type: Normal
Username: CPANEL username for FTPES/FTPS OR FTP username for normal FTP connection
Password: Your CPANEL/FTP password - Click Connect to save the settings and initiate the connection.
SSL Certificate Warning
On the first connection, FileZilla may display a TLS certificate warning.
- Verify that the hostname matches your domain or server IP
- Click OK to trust the certificate and continue
This is normal for secure FTP connections.