Host FTP Server on Windows with FileZilla - A Step-by-Step Guide

Setting Up an FTP Repository on Windows with FileZilla
This guide details the process of establishing a folder on your Windows system as an FTP repository. We will utilize the free software, FileZilla, to achieve this. FTP facilitates the streamlined transfer of numerous files between computers.
The created FTP repository can be accessed from multiple computers over the internet, effectively allowing others to interact with the directory directly through Windows Explorer.
Downloading and Installing FileZilla Server
The initial step involves downloading FileZilla Server, which is readily available online.
Following the download, proceed with the installation, accepting all default settings. FileZilla installs a service that automatically runs upon Windows startup.
If you prefer manual control over the FTP server's operation, select the corresponding option from the dropdown menu during the third screen of the installation process.
With the exception of this setting, all other parameters can remain at their defaults for the purposes of this tutorial.
Upon completion of the installation, the FileZilla interface will appear. Simply acknowledge the prompt by clicking "OK".
Configuring the FTP Repository
With the FTP server interface loaded, we can now designate a directory as our FTP repository.
If the desired directory doesn't already exist, minimize the interface and create a new folder to serve as the FTP share.
For this demonstration, we will utilize a folder named 'FTP' located on the desktop. Its full path is "C:\Users\geek\Desktop\FTP".
Navigate to Edit, then select Users.
Within the subsequent window, click on "Shared folders".
Next, click "Add" underneath the "Users" section.
Enter a username for the account that will be used by another computer to access the FTP repository we are configuring.
Confirm the account name by clicking "OK", and then click "Add" underneath the "Shared folders" section.
A window will appear, allowing you to select the directory you wish to share as an FTP repository.
Click "OK" to proceed.
Setting User Permissions
Now, we must assign permissions to the user for this repository.
By default, the created user has permissions to read files, list directories, and view subdirectories.
To grant additional permissions, such as the ability to upload files, check the corresponding boxes under 'Files' and 'Directories'.
Once you have configured the desired user permissions, click "OK".
Enhancing FTP Server Security
Beyond establishing robust passwords for user accounts, several configurations within FileZilla can be implemented to bolster the security of your newly established FTP server.
Malicious actors continuously probe the internet for hosts operating on port 21, the standard FTP port. To mitigate detection by these persistent scans targeting FTP servers, altering the port FileZilla utilizes is advisable. Navigate to Edit, then Settings. Within the "General settings" section, locate "Listen on these ports." Currently set to 21, it’s recommended to change this to a randomly selected five-digit number, ensuring it remains below 65535.
While this modification doesn't inherently secure the server, it effectively obscures its presence and complicates discovery. It's important to acknowledge, however, that determined attackers will likely eventually identify the port on which your FTP server is listening, necessitating additional security layers.
Provided you possess knowledge of the IP addresses – or at least the IP range – of the computers intended to connect to your FTP server, FileZilla can be configured to respond exclusively to login attempts originating from those specified IPs. Access this functionality under Edit > Settings, then select "IP Filter."
Initially, input an asterisk into the first field to block all IP addresses from establishing connections to your server. Subsequently, define exceptions to this rule within the second field, specifying the IP addresses or network ranges permitted to connect. The following example illustrates a configuration allowing connections from 10.1.1.120 and the 192.168.1.0/24 network range (encompassing addresses from 192.168.1.1 to 192.168.1.255):
This configuration restricts access to authorized sources, enhancing overall security.

Coupled with strong passwords, these measures should provide sufficient security for your FTP server. FileZilla includes a default Autoban feature, which automatically locks out any user attempting excessive connection attempts within a short timeframe. While the Autoban settings can be adjusted under Edit > Settings, the default configuration is generally adequate for most users.
A final consideration regarding the security of this FTP server is the transmission of data in clear-text. Therefore, avoid using plain FTP for transferring sensitive information. Employing SFTP or FTPS enables encryption of FTP communications, and FileZilla can be readily configured to support these secure protocols.
Windows Firewall Exception Configuration
Should you be utilizing a third-party firewall or antivirus solution, it is crucial to verify that the designated port for your FTP server is permitted through its settings. If Windows Firewall is active, an exception for the chosen port must be created.
Access the Start menu and search for "Windows Firewall," then select "Windows Firewall with Advanced Security."
Creating a New Inbound Rule
Within the Windows Firewall with Advanced Security interface, navigate to "Inbound Rules" in the left-hand pane. Subsequently, click "New Rule..." located in the right-hand pane.
The wizard will prompt you to specify the rule type. Select "Port" as you are intending to allow access through a specific port, then click "Next."
Specifying the Port
Enter the port number configured for your FTP server (the default is 21, however, 54218 was selected in this instance).
Completing the Rule Creation
Proceed by clicking "Next" three times following the port number entry. Assign a descriptive name and description to this exception for easy identification and future management.
Finally, click "Finish" to finalize the creation of the firewall exception.
Establishing an FTP Share Connection from Remote Computers
With the FTP server fully configured, authorized users can now connect utilizing the credentials provided. Remember to verify that their respective IP addresses have been permitted access. While graphical user interface (GUI) applications like FileZilla offer a connection method, mapping the share directly to a computer integrates it seamlessly into the file explorer.
Initiate the process by opening 'Computer' and right-clicking within an empty space. From the context menu, select the option "Add a network location."

The "Add Network Location" wizard will then launch. Proceed by clicking "Next" twice. Input the IP address and port number associated with your FTP server, and click "Next" again.

Ensure the "Log on anonymously" checkbox is deselected. Enter the username that was established during the FTP server configuration. Click "Next" twice, and finally, click "Finish."
You will be prompted to enter the corresponding password. Upon successful authentication, the FTP share will be accessible as if it were a locally connected storage device.

Related Posts

Touchscreen on Windows PC: Do You Need It?

Find Lost Windows or Office Product Keys - Easy Guide

Windows 10 Setup: Express vs. Custom - What's the Difference?

Manage Accessibility Features in Windows 10 - A Comprehensive Guide

Windows 10 Start Menu: A Comprehensive Guide
