One of the key elements of utilizing a server for hosting or storage is being responsible to instantly and efficiently transfer your data between the server and your local computer. The excellent way to achieve this is by employing File Transfer Protocol (FTP). Here we will explain, how to configure FTP for use in Windows server 2008, 2012, and 2016. The steps to achieve this are primarily the same for all versions.
First, as FTP in Windows is set up as a Role Service of IIS, we require to make certain that IIS (Internet Information Services) is perfectly installed on the server. While IIS is something that is utilized as the main web server in Windows, you don’t require to create or host a website once you’ve installed it and it is needed for configuring FTP by windows.
Installing IIS as a Web Server in Windows:
To install IIS as the first step of this process we’ll need to pull up Windows Server Manager. Click on the Windows Button and type Server Manager in the search field then click on that to open it up. When it’s opened proceed to the Dashboard and run Manage > Add Roles and Features. This will open a wizard to complete the installation.
In the Add Roles and Features Wizard:
- Select Installation Type and then confirm Role-Based or Feature-Based installation.
- Proceed to the Server Roles step of the Wizard and check the radial box for Web Server (IIS) role.
- Please note that if the Web Server (IIS) box is already checked this has already been installed and you can move on.
- Make sure that the IIS Management Console tool is also selected for installation and then move to the next step.
- Proceed to the Web Server Role (IIS) > Role Services step of the Wizard and check the radial box for the FTP Server role service.
- You can also uncheck the Web Server Role (IIS) at this stage if you will not need it for hosting a site.
- You can now proceed to the end of the Wizard and click Install and wait for the installation to complete.
Setting up the FTP site and users:
For this purpose, we are going to set up a standalone FTP server simply for the upload and download of files.
- First, we need to open IIS Manager. Go to Control Panel > System and Security > Administrative Tools and select Internet Information Services (IIS) Manager.
- Next, navigate to your Windows server node in the left-hand column.
- Select the ‘Sites’ folder and right click it. In the menu that opens select Add FTP Site. This will start a Wizard to guide you through the setup.
- In the initial Site Information step, you can name your FTP site. You can name it anything you like and the default ‘FTP Site’ is also acceptable. In this step, you will also specify the path to a folder on the server that will be accessed when logging in to FTP. You may want to choose C:\ at this step as this will allow you to browse to any folder via FTP once logged in.
- When you reach the Authentication and Authorization Information stage of the Wizard you should select Basic Authentication and make sure Anonymous is deselected. At this step, you also select which users are allowed to connect and with what permissions. In a basic server setup, you would select Administrator as the user. Don’t select Anonymous users. You can also select other users if you have added them.
- Click the Finish button and this will complete the FTP setup.
- Reboot the server.
You’ve now completed setting up FTP through IIS in Windows server. When you log in using your local FTP client you will use the IP address as the hostname, Administrator as the user and the current Administrator password.