How to Connect via FTP with FileZilla: A Guide
Want to connect via FTP to upload files to your web server? FileZilla is the most popular free FTP program and works on Windows, Mac, and Linux. In this comprehensive article, we explain step by step how to connect to FTP with FileZilla, how to solve common problems, and which security settings you should use.
What Is FTP and Why Do You Need It?
FTP stands for File Transfer Protocol. It's a method for moving files between your computer and a web server. You need FTP for several tasks:
- Uploading website files – moving HTML, CSS, JavaScript, PHP, and media files to your server
- Making backups – downloading files from your server as a backup
- Editing files – adjusting configuration files such as .htaccess or wp-config.php
- Installing a CMS – manually installing WordPress, Joomla, or other systems
- Moving large files – uploading files that are too large for the hosting panel
FTP, FTPS, and SFTP: The Difference
There are three protocols for file transfer. It's important to know the difference:
| Protocol | Encryption | Port | Security |
|---|---|---|---|
| FTP | None | 21 | Insecure: passwords are sent as plain text |
| FTPS (FTP over SSL) | SSL/TLS | 21 or 990 | Secure: encrypted connection |
| SFTP (SSH FTP) | SSH | 22 | Very secure: full SSH encryption |
Recommendation: Always use SFTP or FTPS if your hosting provider supports it. Plain FTP sends your password unencrypted over the internet, which means it can be intercepted.
Downloading and Installing FileZilla
- Go to the official website: filezilla-project.org
- Download the FileZilla Client (not the Server version)
- Note: during installation, choose the standard version without bundled software
- Follow the installation instructions for your operating system
Finding Your FTP Details from Your Hosting Provider
To connect via FTP, you need the following details from your hosting provider:
| Detail | Example | Where to find it |
|---|---|---|
| Host/Server | ftp.yourdomain.com or the server IP address | Hosting panel (DirectAdmin/cPanel) |
| Username | yourusername | Hosting panel or welcome email |
| Password | Your FTP password | Hosting panel |
| Port | 21 (FTP/FTPS) or 22 (SFTP) | Provider documentation |
At Theory7, you'll find these details in DirectAdmin under FTP Management. You can also create additional FTP accounts there with restricted access to specific folders.
Connecting to FTP with FileZilla: Step by Step
Method 1: Quickconnect
The fastest way to connect via FTP:
- Open FileZilla
- Fill in the toolbar at the top:
- Host: your server name or IP address (for SFTP: sftp://yourserver.com)
- Username: your FTP username
- Password: your FTP password
- Port: 21 for FTP, 22 for SFTP
- Click Quickconnect
Method 2: Site Manager (Recommended)
For a more secure, reusable connection, use the Site Manager:
- Open FileZilla and go to File → Site Manager (or press Ctrl+S)
- Click New Site
- Give the site a recognizable name (e.g., "My Website")
- Fill in the following settings:
| Setting | Value |
|---|---|
| Protocol | SFTP - SSH File Transfer Protocol (recommended) |
| Host | your server name or IP address |
| Port | 22 (for SFTP) or 21 (for FTP) |
| Logon Type | Normal |
| Username | your FTP username |
| Password | your FTP password |
- Click Connect
Understanding the FileZilla Interface
After connecting, you'll see four panels in FileZilla:
- Top left – Your local files on your computer (folder structure)
- Bottom left – The contents of the selected local folder
- Top right – The folders on your web server (remote folder structure)
- Bottom right – The contents of the selected server folder
At the bottom of the screen, you'll see the message log with status updates and a queue of ongoing transfers.
Uploading Files
To upload files, navigate on the left to the folder on your computer that contains the files, and on the right to the destination folder on the server. Drag the files from left to right, or right-click a file and choose "Upload."
Downloading Files
Downloading works the other way around: navigate on the right to the files on the server and drag them to the left, or right-click and choose "Download."
Connecting to FTP: Solving Common Problems
Problem 1: "Connection Refused" or "Unable to Connect"
- Check that the hostname and port are correct
- Using SFTP? Check that port 22 is open. Otherwise, try port 21 with FTPS
- Check that your IP address isn't blocked by the server's firewall
- Some networks (offices, hotels) block FTP ports. Try a different internet connection
Problem 2: "Authentication Failed" or "530 Login Incorrect"
- Check your username and password for typos
- Passwords are case-sensitive, so double-check capitalization
- Try resetting your password via your hosting panel
- Check that you're using the correct FTP account and not your panel login credentials
Problem 3: "Directory Listing Failed" or Folder List Won't Load
- Enable Passive mode: go to File → Site Manager → Transfer Settings → Passive
- Some firewalls block the data connection used by active FTP. Passive mode usually resolves this
- If passive mode doesn't work, try active mode
Problem 4: "Unknown SSL Certificate" Warning
- With FTPS, FileZilla may show a warning about the SSL certificate
- If you're certain you're connecting to the right server, you can accept the certificate and check "Always trust this certificate"
- If you're unsure, contact your hosting provider to verify the certificate
Problem 5: Timeout with Large Files
- Go to Edit → Settings → Connection and increase the timeout value
- With very large files, the connection can be unstable; consider uploading the file in parts or compressing it
Security Tips for FTP
FTP access to your server is a sensitive point. Protect your connection with these measures:
- Use SFTP or FTPS instead of unencrypted FTP. This prevents your password from being intercepted
- Use strong passwords with at least 16 characters, letters, numbers, and special characters
- Restrict FTP access to specific IP addresses if your hosting provider supports it
- Create separate FTP accounts per user or project with restricted folder access
- Disable FTP when you're not using it so there's no open entry point to your server
- Don't save passwords in FileZilla if you're using a shared computer
Alternatives to FileZilla
FileZilla isn't the only FTP program. Here are a few alternatives:
| Program | Platform | Price | Notes |
|---|---|---|---|
| WinSCP | Windows | Free | Excellent SFTP support |
| Cyberduck | Windows, Mac | Free | Also supports cloud storage |
| Transmit | Mac | Paid | Premium Mac app with an excellent interface |
| Hosting panel | Browser | Included | File Manager in DirectAdmin or cPanel |
Connecting to FTP with FileZilla is essential for anyone managing a website. With the steps in this article, you can quickly and securely connect to your web server. Always use SFTP or FTPS for an encrypted connection, save your settings in the Site Manager for easy reconnecting, and follow the security tips to protect your server.
Looking for reliable web hosting with FTP, SFTP, and a clear hosting panel? At Theory7, you get DirectAdmin with a built-in File Manager and support for secure file transfer. This way, you always have access to your website files, whether you use FileZilla or the browser.
Connecting to FTP: Advanced FileZilla Tips
Once you've mastered the basics, here are advanced tips for working more efficiently with FileZilla.
Setting Up File Filters
File filters let you hide certain files from the view. Go to View and File Filters to set up rules. For example, you can exclude temporary files, backups, or hidden files so you only see the relevant files. This keeps things clearer when working on large projects.
Using File Comparison
FileZilla offers a handy file comparison feature that lets you quickly see which files on your computer differ from those on the server. Go to View and File Comparison. Files that exist only locally are highlighted in green, files that exist only on the server are highlighted in red, and modified files are highlighted in yellow.
Setting Speed Limits
If FTP transfers are slowing down your internet connection, you can set speed limits. Go to Edit, Settings, and Transfers. Here you can set a maximum upload and download speed. This is especially useful when you're uploading large files and want to keep using the internet for other tasks at the same time.
Configuring Simultaneous Transfers
By default, FileZilla opens two simultaneous connections for transfers. You can increase this to a maximum of ten via Edit, Settings, and Transfers. More simultaneous transfers speed up uploading many small files, but be careful not to exceed your server's limit.
Connecting to FTP for Specific Tasks
Manually Installing WordPress via FTP
Although most hosting providers offer an automatic installation script, you can also install WordPress manually via FTP:
- Download WordPress from wordpress.org
- Extract the ZIP file on your computer
- Make an FTP connection to your server
- Navigate to the correct folder on the server, usually public_html or domains/yourdomain.com/public_html
- Upload all WordPress files to this folder
- Open your domain name in the browser and follow the installation wizard
Editing Files via FTP
FileZilla offers the option to edit files directly on the server. Right-click a file and choose View/Edit. The file opens in your default text editor. After saving, FileZilla automatically uploads the file back to the server. This is handy for quick changes to configuration files without downloading them first.
Setting File Permissions via FTP
File permissions determine who can read, write, and execute files on the server. In FileZilla, you can set permissions by right-clicking a file or folder and choosing File Permissions. Commonly used settings are 644 for files (owner reads and writes, others read only) and 755 for folders (owner has full access, others read and execute).
When Should You Stop Using FTP?
While FTP is still useful, there are situations where other methods are better suited:
- Git deployment is better suited for professional web development. Instead of uploading files manually, you push your code to a repository and let the server automatically pull the latest version.
- SSH access offers more possibilities than FTP. With SSH, you can not only manage files but also run commands on the server, manage processes, and view log files.
- Control panel file management, such as the File Manager in DirectAdmin, is handy for small changes without needing a separate program.
For most website managers who aren't developers, however, connecting to FTP with FileZilla remains the most accessible and reliable way to manage files on their web server.
Connecting to FTP: Common Errors and Solutions
When setting up an FTP connection, many users run into the same problems. Below, we discuss the most common errors and how to fix them, so you can get back to work quickly.
Error: "Connection Timed Out"
This error means FileZilla can't connect to the server. The most common causes are:
- Wrong port number - Standard FTP uses port 21, SFTP uses port 22. Check which protocol your hosting provider supports.
- Firewall blocks the connection - Both your local firewall and the server firewall can block FTP traffic. Add an exception for FileZilla in your firewall settings.
- IP blocking - After too many failed login attempts, your IP address may be blocked. Contact your hosting provider to unblock your IP.
- Server unreachable - Check that the server is online by opening the website in your browser.
Error: "530 Login Incorrect"
This error points to incorrect login details. Check the following:
- Usernames are case-sensitive on most servers
- Copy the password directly from your hosting control panel to avoid typos
- Some hosting providers use your full email address as the FTP username
- Check that the FTP account is active in your hosting panel
Advanced FTP Settings in FileZilla
Beyond the basic connection, FileZilla offers various advanced options for optimizing and securing your FTP connection.
Configuring the Site Manager
Instead of manually entering your details every time, you can use the Site Manager to save server profiles. Go to File > Site Manager and click "New Site." Enter your server details here and choose the right protocol. You can save multiple sites for different projects or clients.
Passive vs. Active Mode
FTP has two modes for data transfer:
| Setting | Active Mode | Passive Mode |
|---|---|---|
| Connection direction | Server connects to client | Client connects to server |
| Firewall-friendly | No - requires open ports on the client | Yes - works behind NAT/firewall |
| Recommended for | Servers on a local network | Virtually all situations |
| Default in FileZilla | No | Yes |
In most cases, passive mode is the right choice. You'll find this setting under Edit > Settings > FTP > Passive Mode.
Optimizing File Transfer
When uploading large websites, you can speed up the transfer by adjusting the number of simultaneous connections. Go to Edit > Settings > Transfers and set the maximum number of simultaneous transfers to 3-5. More connections may seem faster, but can overload the server and actually cause delays.
Security Considerations When Connecting to FTP
Standard FTP sends all data, including passwords, as plain text over the network. This poses a security risk, especially on public networks. That's why it's important to consider more secure alternatives when setting up an FTP connection.
SFTP vs. FTPS
There are two secure alternatives to standard FTP:
- SFTP (SSH File Transfer Protocol) - Uses SSH encryption and runs on port 22 by default. This is the most widely used secure option at modern hosting providers.
- FTPS (FTP over SSL/TLS) - Adds SSL/TLS encryption to the standard FTP protocol. Typically uses port 990 for implicit TLS or port 21 for explicit TLS.
At Theory7 web hosting, SFTP is supported by default, so you can always transfer files securely. In FileZilla, select the "SFTP - SSH File Transfer Protocol" protocol for the most secure connection.
Using SSH Keys
For extra security, you can set up SSH keys instead of passwords. This works as follows: generate a key pair on your computer, upload the public key to the server, and configure FileZilla to use the private key via Edit > Settings > SFTP. This method isn't just more secure, it's also more convenient, since you no longer need to type a password.
With this knowledge, you can set up any FTP connection securely and efficiently, regardless of the type of server or hosting environment you're working with.
Connecting to FTP for Different Hosting Environments
Depending on your hosting environment, the way you set up an FTP connection differs. With shared hosting, you typically receive the FTP details via the welcome message or the hosting panel. Look for the "FTP accounts" section in cPanel, DirectAdmin, or Plesk. Here you can also create additional FTP accounts with restricted access to specific folders, which is handy if you want to give external developers access without exposing all your files.
With a VPS or dedicated server, you have to configure the FTP service yourself. Many administrators choose vsftpd or ProFTPD as the FTP server. A simpler option is to use SFTP, which is available by default via the SSH service running on virtually every Linux server. This requires no extra software installation. Make sure you set the file permissions correctly after uploading: folders at 755 and files at 644 are the standard for web files.
For WordPress websites, you might consider avoiding FTP and using Git deployment instead. This isn't just more secure, it also makes it easier to roll back changes if something goes wrong. Many professional developers have replaced FTP entirely with Git workflows and SSH connections for file management on the server.
Connecting to FTP: Alternatives and Modern Workflows
While connecting to FTP is still relevant, there are more modern alternatives that are more convenient and secure in many situations. WebDAV lets you manage files via a web browser or file manager, without separate software. Many hosting panels support a built-in File Manager that lets you upload, edit, and organize files directly from your browser. This is especially practical for quick changes to configuration files or uploading a handful of files.
SSH and SCP are the preferred methods for system administrators. With SCP, you can copy files to and from the server via the command line, fully encrypted via the SSH protocol. Rsync goes a step further by only transferring the changed parts of files, which is significantly faster when syncing large folders. For teams collaborating on web projects, a version control system like Git combined with automated deployment is the professional standard. Each of these methods has its own place in a modern workflow, but knowing how to make an FTP connection remains valuable as a universal fallback method when other options aren't available.