FTP is a famous network protocol to transfer files internally and externally over TCP network. When you have a Windows 2012 R2 server in your environment, you may need to setup FTP site and set permissions to make the file transfer simple, faster and secure. The below step by step guide explains how to install and configure FTP on Windows 2012 R2 server, also shows how to enable FTP incoming packets in the Windows firewall without completely disabling firewall services.
We have already published a guide about installing and configuring FTP in Windows 8 or 8.1, when you have it on 2012 R2 server, it act professionally on server hardware and Operating System.
Windows 2012 R2 has come with Internet Information Services (IIS) 8.5 with several improvement. FTP sites and options are available under IIS settings in Windows 2012 R2. IIS 8.5 role needs to installed before setting up FTP site/service on the latest Windows server.
Steps to Install and Configure FTP on Windows 2012 R2 Server
1) Let us install the web service (IIS) role first.
Open server manager and select Add Roles and Features.
Click Next and select Role-based installation, to install any roles or features on Windows 2012 R2 server this should be selected.
Select the local server and click Next.
Read Also: By any time if you have forgotten the administrator or your password, this tool would be helpful to reset in 2 minutes.
2) Select Web Server (IIS) and all recommended features in the popup screen as below.
3) It is not required to select any features in the Features page.
When you reached the Web server Role features, select FTP services and FTP extensibility (optional only) features.
4) Confirm the selection and click Install to start the installation.
Once the FTP server role has been installed, you can access the IIS 8.5 (Internet Information Services Manager) from server manager form Windows 2012 R2.
5) It will open the IIS settings where you can host websites and FTP sites. But here we will be creating and setting up FTP site only in Windows 2012 R2 Server.
Few things you need to consider before implementing FTP server setup.
a) Are you going to use SSL (Certificate) or Non SSL security settings in your FTP site?. SSL is secured and the FTP traffic will be encrypted. But you need to have a valid internal or external certificate for this purpose if you select SSL.
b) How users will be authenticated? is it local or integrated with Active Directory?
c) How you are going to manage read only and write access to your FTP site?
d) If the server have multiple NICs and IPs, on which IP you want to publish your FTP site? based on that you have to bind the FTP service to particular IP (NIC) in Windows 2012 R2 server.
Once you have decided above points, go to our earlier guide which shows how to install and setup FTP on Windows 8.1 OS. The settings and configuration steps are very similar.
Remember, setting up the permission of your FTP site is very important. Because we may no need to give write access to all users and in most of the time none of the users should read/see what is on the FTP site without authentication ( that means, no anonymous access)
You will be needing to setup and allow FTP traffic through the Windows firewall or any other specific firewall/Antivirus software you have installed. Once you setup the FTP site, you can check the every permission and access level with any FTP client program, like Filezilla.