Would you like to learn how to install the FTP server on a computer running Windows? In this tutorial, we are going to show you how to enable the FTP server on a computer running Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• IIS 8.5

Tutorial Windows - FTP Server installation

Open the Server Manager application.

Access the Manage menu and click on Add roles and features.

Windows 2012 add role

On the Server Roles screen, select the option named: Web Server IIS.

Click on the Next button.

IIS Installation

On the following screen, click on the Add features button.

IIS Features

On the Features screen, click on the Next button.

Windows 2012 - Features

On the Role service screen, select the option named FTP Server and both suboptions.

FTP server Installation Windows

On the Summary screen, click on the Install button.

FTP server Installation Summary

Congratulations! You have finished the FTP service installation on a computer running Windows Server.

Tutorial Windows - FTP server configuration

After finishing the installation, create a group of users.

Members of this group will be authorized to use the FTP server.

Windows - FTP Users

In our example, we created a local group named FTP-USERS.

Create a directory to be used by the FTP server.

Windows - FTP Root

In our example, we created a directory named FTPSERVER on the root of drive C.

Start the application named: IIS Manager.

Start IIS Windows

Right-click the folder named Sites and select the option to add an FTP site.

Windows - FTP Server Configuration

Enter an identification to the new FTP site and select the desired directory.

In our example, we selected the directory previously created.

Windows - Add FTP SITE

On the next screen, perform the following configuration.

• IP Address - Select the desired IP address
• Start FTP site automatically - Yes
• SSL - No SSL

Click on the Next button.

Windows - FTP Server Binding settings

On the next screen, perform the following configuration.

• Anonymous authentication - No
• Basic authentication - Yes
• Allow access - Specified roles or user groups
• Group name - FTP-USERS
• Permissions - Read and write

Click on the Finish button.

Windows - FTP Server authentication

Congratulations! You successfully configured the FTP server on a computer running Windows 2012 R2.

Windows firewall - Allow the FTP connection

Open the application named Windows Firewall with Advanced Security

Select the Inbound rules options and make sure the FTP rules are enabled.

Windows - FTP firewall

On a remote computer, open a DOS prompt and try to connect to your FTP server.

Copy to Clipboard

Here is the output of a successful connection.

Copy to Clipboard

Even if the FTP firewall rules are in place, there is a possibility that your connection will be blocked.

Optionally, you may create a firewall rule to allow the FTP connection.

Create a new Inbound firewall rule.

zabbix active directory

Select the PORT option.

Select the TCP option.

Select the Specific local ports option.

Enter the TCP port: 20-21

Windows - FTP server firewall configuration

Select the Allow the connection option.

zabbix windows firewall allow connection

Check the DOMAIN option.

Check the PRIVATE option.

Check the PUBLIC option.

Enter a description to the firewall rule.

Windows - FTP server firewall description

You have finished the firewall configuration.