How to Use FTP (FileZilla) to Upload Files to WordPress

Using an FTP client with WordPress

FTP (File Transfer Protocol) lets you move files between your computer and your hosting server. Most of the time you will not need it, because WordPress handles uploads for you. But when your site breaks, a plugin locks you out, or you need to upload large files, FTP is a lifesaver. Here is how to use it with the free FileZilla app.

When Should You Use FTP?

  • A plugin or theme update broke your site and you cannot log in. You can rename or delete the plugin folder via FTP to recover.
  • You need to upload a theme or plugin that is too large for the WordPress uploader.
  • You want to upload or download many files at once.
  • You need to edit a file such as wp-config.php or .htaccess.

Prefer not to install software? Most hosts also offer a browser-based File Manager; see how to use cPanel File Manager.

Use SFTP, Not Plain FTP

Plain FTP sends your password unencrypted. Whenever your host supports it, use SFTP (secure FTP, usually port 22) or FTPS. FileZilla supports both.

Step 1: Get Your FTP or SFTP Details

Log in to your hosting dashboard and look for FTP Accounts, SFTP, or SSH/SFTP access (the name varies by host). You can usually create a new account or view existing credentials. You need:

  • Host: often your domain, ftp.yourdomain.com, or a server IP address.
  • Username and password.
  • Port: 22 for SFTP, 21 for FTP.

Check your host’s help docs if you cannot find them.

Step 2: Install FileZilla and Connect

  1. Download the free FileZilla Client for Windows, Mac, or Linux. (Download only from the official site, and decline any bundled offers during install.)
  2. Open FileZilla and go to File > Site Manager > New site.
  3. Choose the protocol (SFTP or FTP), and enter the host, port, username, and password.
  4. Click Connect.
FileZilla FTP client

Your computer’s files appear on the left and your server’s files on the right. WordPress is usually inside public_html (or a folder named after your domain).

Step 3: Upload Files

Navigate to the target folder on the right, for example wp-content/themes/ for a theme or wp-content/plugins/ for a plugin. Then drag the unzipped folder from the left panel to the right. FileZilla shows progress at the bottom.

Uploading a theme via FTP

Download, Rename, Edit, or Delete Files

Right-click any file on the server side for options such as Download, Rename, Delete, and View/Edit. Before editing, always download a backup copy. To disable a broken plugin, rename its folder in wp-content/plugins/ (for example, add -off to the name); WordPress will deactivate it and you can log in again.

Safety Tips

  • Back up your site before changing files.
  • Use SFTP and strong, unique passwords.
  • Delete FTP accounts you no longer use.
  • Do not edit core WordPress files; changes are lost on update.

Frequently Asked Questions

Is FTP still needed for WordPress?

Rarely for daily work, but it is the best way to fix a site you cannot log in to and to manage large files.

What is the difference between FTP and SFTP?

SFTP encrypts your connection, including your password. Use SFTP whenever your host supports it.

Is FileZilla free?

Yes, FileZilla Client is free and open source. Download it only from the official FileZilla website.

Comments

2 responses to “How to Use FTP (FileZilla) to Upload Files to WordPress”

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Sarah Harper Avatar
    Sarah Harper

    Hi Istiak, Thanks for the well written tutorial. It’ll help newbies, because mostly people upload files through cPanel and on that process they have to go through many steps like account login > ftp manager > go to required directory…. But after reading your tut. no need to open cPanel again for file uploads :)

    1. Istiak Rayhan Avatar
      Istiak Rayhan

      Using cPanel file manager is time consuming. So I always prefer FTP client. It is very easy to use and we can control it from desktop.