Windows Server FTP

Install FTP Server on Windows Server

Windows Server has IIS build in, which also offers a FTP server option. The File Transfer Protocol (FTP) is still a very popular protocol that allows users to simply upload and download files. Of course today you have more modern options, however it is still very often used and a lot of legacy applications still support it.

In this blog post I wanna quickly go rough how you can install the FTP Server on Windows Server. I do this on a brand new Windows Server 2019 operating system, however it didn’t really change since early Windows Server versions.

Install FTP Server Feature on Windows Server

Install FTP on Windows Server using PowerShell

First you will need to install the FTP feature. I usually simply do that using PowerShell to install the FTP Server feature in Windows Server. You can also do that using the Server Manager. However, if you want to use PowerShell, you can use the following command:

Configure FTP Server on Windows Server

Add FTP Site

Now you will need to configure the FTP Server Site on Windows Server. Open the Internet Information Services (IIS) Manager, right click on the server name and click on Add FTP Site…

This will start a new FTP Site wizard, which helps you to configure a new FTP site.

First enter the FTP site information like name and the path to the content.

FTP Site Information

Next you configure Authentication and Authorization information settings. Per default you will have anonymous authentication active, if it is not just a read-only FTP site, I would recommend that you configure only access to specific group. You can create a group in the computer management or you can use PowerShell to create a new Windows user group. Make sure that this user group has access to the folder path you select for the FTP files.

FTP Authentication and Authorization Information

Next configure the port binding and SSL settings.

FTP Binding and SSL Settings

After that you will need to open the ports in the firewall, in my case this is port 21.

Windows Server FTP

You can start using your FTP server now, if you want to test it you can use the following commands:

I hope this post was helpful. By the way, you can also use PowerShell to upload and download files from a FTP Server.