How to create a FTP Site in IIS?

Creating FTP Site in IIS is fairly simple. You can do so in following easy steps

  1. First of all install the FTP services using the following steps
    • Open the Server Manager and go to Roles and click on “Add Roles”
    • Click Next until you reach Select Role Services page, leave the default and check FTP Server, FTP Service and FTP Extensibility at the bottom. Click Next, follow the wizard and finish the role installation.
  2. Next, open the IIS Manager from Start > Administrative Tools.
  3. Expand the server, right click on Sites and click on Add FTP Site.
  4. Give the name as Default FTP Site and enter the path as C:InetpubFtproot
  5. Configure Binding and SSL. In our case, we’d like to bind to all unassigned IP addresses and Allow SSL.
  6. Next, select Authentication as Basic and under Authorization, select Allow access to as All Users and assign only the write permission.
  7. Then click on Finish.
  8. Under the newly created FTP Site, click on FTP User Isolation
  9. Under Isolate Users, select the option User name directory (disable global virtual directories)
  10. Click on Apply.
  11. Now create a directory named LocalUser under the C:InetpubFtproot directory.
  12. Now in IIS, expanding the Default FTP Site will display the directory LocalUser.
  13. Right click on the directory named LocalUser and click on Add Virtual Directory.
  14. Enter the Alias name and the Physical Path of the directory.
  15. Now expand the LocalUser directory under Default FTP Site and you will be able to see the virtual directory.
  16. In the new Virtual Directory, click on FTP Authorization Rules.
  17. Click on Add Allow Rule from the Actions window.
  18. Select the option Specified Users and enter the name of the user.
  19. Assign both Read and Write permissions to the user and click on OK.

You can now create multiple virtual directories under the LocalUser folder using the steps 13-19.

Things to keep in mind:

  1. Create the appropriate system user and assign a strong password.
  2. Create a physical directory in an appropriate location before creating the virtual directory.
  3. Make sure to keep the name of the user and the virtual directory the same.
  4. Make sure to open the ports 20 and 21 in the Firewall.

Leave a Reply

Your email address will not be published. Required fields are marked *

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.