Windows server provides out-of-the-box FTP server feature in IIS. When I say OTB, I mean it. Most of the process to configure FTP server in IIS 7.5 and Windows Server 2008 (or R2) and configure FTP server in IIS 8 and Windows Server 2012 are same.
To configuration FTP server in IIS following steps should be followed:
Install Web Server (IIS) in Windows Server 2008 R2 or Windows Server 2012 (Which is very easy to figure out).
Add role service - FTP Server.
Create your first or I say "Hello World FTP" site.
Here is the step-by-step guide to Install IIS Web Server and add FTP server roles in Windows Server 2008 R2
Step: Open Server manager and right click on Roles and select "Add Roles"
Step: On click "Add Roles" will bring up some begin Add Roles wizard and lots of stuffs to read if you want, once done click next
Step: Next is select server roles. Now if you have not install Web Server IIS already select from the list and click next
Step: Next is an introduction to Web Server IIS, go ahead and read it out and click next
Step: IIS (as role) comes with role services. This page provides options to selected role service you require in your IIS Web Server role, now if you will scroll down a little bit then you can see "FTP Server" with two sub item in tree as "FTP service" and "FTP extensibility" (optional). Second is optional and can be used to extend FTP service and call or control from your code using Native or Managed API. Don't forget to select "Management Service" under "Management Tools" and click next
Step: Once you click next, you will be presented installation summary page and click install to start installation of selected roles and services. Once installation is completed you will be seeing following screen
Step: This will end up enabling FTP Server in your IIS. Now one thing you can notice is that you will now see an additional folder in your IIS inetpub (
c:\inetpub) folder named "ftproot". Yes it is similar to "wwwroot', it is the default location for FTP sites which you can host in the IIS FTP server.
Step: Next we will create our First FTP site > Open Internet Information Service (IIS) Manager or Win + R > inetmgr > Right click on your IIS server name and click on "Add FTP Site"
Step: Next you need to provide information for the new FTP site > Enter your FTP site name and physical path (or root directory) for the FTP site
Step: Once done click next
Step: Now you need to provide your desired Binding and SSL settings for the FTP site > For sake of example I will keed IP Address as "All Unassigned" and default port 21.
Check "Start FTP site automatically" unless you are control freak.
Select No SSL for now (as you can change all this settings later also) and click next
Step: Configure authentication and authorization information the new FTP site.
Select Basic authentication and > Allow Access to as "All Users" > Check Read > Write Permissions and click next.
That's it. You have your first FTP site ready to connect and use. In the IIS server tree if you expand and click on your FTP site you can see all available FTP options in the adjacent right pane.
Similarly you can configure FTP Server in IIs 8 and Windows Server 2012
Step: Open Server Manager > Click on "Manage" in top-right corner > Select "Add Roles and Features"
Step: That brings up the Add Roles and Features Wizard page > click next
Step: Next you need to select Installation type, select > "Role-based or feature-based installation" and click next
Step: Select the server on which you wish to install the FTP Server in IIS for and click next
Step: Next you need to select server roles > Check Web Server (IIS) from the list and expand the sub list and check FTP Server > FTP Service and FTP extensibility (optional) > Click next
Step: Now you will be viewing Select Features step > Nothing to be done here for the current purpose so click next
Step: Next is the installation summary or confirm installation selections > Check "Restart the destination server automatically if required" (optional) and click "Install"
Step: Now you can see the installation progress and after sometime the install completes (my machine did not restarted by the way).
Rest of the steps to create FTP site in IIS remains the same as Windows Server 2008 R2.