Categories: IISWindows

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.
Nitesh Shah

Share
Published by
Nitesh Shah

Recent Posts

How to setup first Azure Virtual Machine?

Setting up your first Azure Virtual Machine can be done by following these steps: Create…

1 year ago

How to setup Amazon Cloudfront and S3 to serve static resources

Amazon CloudFront is a content delivery network (CDN) that helps you serve static content such…

1 year ago

Step-By-Step Guide To Setting Up An AWS Application Load Balancer

Step-By-Step Guide To Setting Up An AWS Application Load Balancer Are you looking for a…

1 year ago

How to restore MySQL database from .frm and .ibd files?

MySQL databases often get corrupted due to issues like hardware failure, file system failure etc.…

4 years ago

SQL Server Replication

SQL Server Replication is the process of copying databases from one node to another to…

5 years ago

101 System Admin Tools to make life easy

Here are 101 System Admin tools which make System Admins' life easy.

7 years ago

This website uses cookies.