FileZilla Server’s graphical interface makes it seem like a simple GUI application, but it’s actually a robust FTP/SFTP server with a client-server architecture that’s far more capable than its simple appearance suggests.

Let’s set up FileZilla Server on a Windows machine. We’ll cover installation, basic configuration, and getting it ready to serve files.

1. Installation

Download the latest installer from the official FileZilla website. Run the installer, and accept the license agreement. For the components, it’s usually safe to install everything.

During installation, you’ll be prompted to configure the server. You can choose to start FileZilla Server at system startup. It’s generally a good idea to have it running automatically.

Next, you’ll configure the server interface. You can choose to start the server automatically and use the system tray icon.

Finally, you’ll set the listening ports. The default is port 21 for FTP control and port 20 for active mode data transfers. For SFTP (which uses SSH), it’s typically port 22. For this guide, we’ll stick with the defaults for FTP.

2. Connecting to the Server Interface

After installation, FileZilla Server will likely start running in the background. You’ll need to connect to it using the FileZilla Server Interface application.

Launch "FileZilla Server Interface" from your Start Menu. It will prompt you for connection details.

  • Host: 127.0.0.1 (or localhost) if you’re connecting from the same machine where the server is installed.
  • Port: 14147 (this is the default administrative port for FileZilla Server).
  • Password: Leave this blank by default unless you’ve set a specific administrative password during installation (which is not a common default step).

Click "Connect." You should now see the main FileZilla Server Interface window.

3. Basic Server Configuration

The first thing to do is set up users and their directories.

Go to Edit -> Users....

Click Add to create a new user. Let’s create a user named testuser. Click OK.

Now, with testuser selected, go to the Shared folders section. Click Add to assign a directory to this user. Browse to a folder on your system that you want to make accessible. For example, C:\FileZillaShare. Click OK.

You can then set permissions for this user on this directory. Check Read and Write if you want the user to be able to upload and download files. You can also set Delete and List permissions.

4. Firewall Configuration

This is crucial. Your Windows Firewall (or any other firewall you might have) needs to allow traffic on the ports FileZilla Server uses.

  • Control Port: Port 21 (TCP) is used for initial connection and commands.
  • Data Ports: For Active Mode FTP, port 20 (TCP) is used. For Passive Mode FTP, a range of ports is used.

To configure Passive Mode:

Go to Edit -> Settings... -> Passive Mode.

You’ll see a Passive FTP settings section. You can choose to use a passive port range. A common and recommended range is 50000-51000. Enter this into the Enter passive port range: field.

Now, you need to open these ports in your Windows Firewall:

  1. Search for "Windows Defender Firewall with Advanced Security" and open it.
  2. Click on Inbound Rules on the left.
  3. Click New Rule... on the right.
  4. Choose Port and click Next.
  5. Select TCP and Specific local ports:. Enter 21, 50000-51000. Click Next.
  6. Select Allow the connection and click Next.
  7. Choose the profiles where this rule should apply (Domain, Private, Public). Typically, you’ll want Domain and Private. Click Next.
  8. Give the rule a name, e.g., "FileZilla FTP Ports". Click Finish.

You might also need to configure your router’s firewall/port forwarding if you want to access the server from outside your local network. You’ll need to forward port 21 (TCP) and the passive port range (e.g., 50000-51000 TCP) to the internal IP address of your Windows machine running FileZilla Server.

5. Testing the Connection

From another computer on your network (or even from the same machine using a different FTP client), try to connect:

  • Host: The IP address of the Windows machine running FileZilla Server (e.g., 192.168.1.100).
  • Username: testuser
  • Password: (Leave blank if you didn’t set one for the user)
  • Port: 21

You should be able to connect, see the shared folder, and upload/download files according to the permissions you set.

6. Understanding Passive vs. Active Mode

FileZilla Server, by default, often prefers passive mode. In passive mode, after the control connection is established on port 21, the server tells the client which port it should connect back to for the data transfer. This is why you need to open a range of ports on the server for passive mode. This is generally more firewall-friendly for clients.

In active mode, the client initiates the data connection back to the server on port 20. This can be problematic if the client is behind a strict firewall that blocks incoming connections.

You can toggle between these modes in your FTP client’s settings. For FileZilla Server, ensuring the passive port range is open is key for reliable connections.

7. Security Considerations

  • SFTP: For secure transfers, always prefer SFTP over FTP. SFTP runs over SSH (default port 22). FileZilla Server does not natively support SFTP. You would need a different server software like OpenSSH Server for SFTP.
  • Strong Passwords: If you set passwords for users, use strong, unique passwords.
  • Limit Permissions: Grant users only the permissions they absolutely need.
  • User Isolation: Ensure users are restricted to their designated directories.

The next common hurdle after getting a basic FTP connection working is understanding how to manage multiple users and their distinct directory permissions without them being able to see each other’s files.

Want structured learning?

Take the full Ftp course →