Using the FTP Site Wizard to Create an FTP Site
In this first step you will create a new FTP site that anonymous users can open.
Note: The settings listed in this walkthrough specify “%SYSTEMDRIVE%\inetpub\ftproot” as the path to your FTP site. You are not required to use this path; however, if you change the location for your site you will have to change the site-related paths that are used throughout this walkthrough.
Open IIS 7.0 Manager. In the Connections pane, click the Sites node in the tree.
As shown in the image below, right-click the Sites node in the tree and click Add FTP Site, or click Add FTP Site in the Actions pane.
Create a folder at “%SystemDrive%\inetpub\ftproot”
Set the permissions to allow anonymous access: Open a command prompt. Type the following command: CACLS “%SystemDrive%\inetpub\ftproot” /G IUSR:R /T /E Close the command prompt.
When the Add FTP Site wizard appears: Enter “My New FTP Site” in the FTP site name box, then navigate to the “%SystemDrive% \inetpub\ftproot” folder that you created in the Prerequisites section. Note that if you choose to type in the path to your content folder, you can use environment variables in your paths.
When you have completed these items, click Next.
On the next page of the wizard:
Choose an IP address for your FTP site from the IP Address drop-down, or choose to accept the default selection of “All Unassigned.” Because you will be using the administrator account later in this walk-through, you must ensure that you restrict access to the server and enter the local loopback IP address for your computer by typing “127.0.0.1” in the IP Address box. (Note: If you are using IPv6, you should also add the IPv6 localhost binding of “::1”.) Enter the TCP/IP port for the FTP site in the Port box. For this walk-through, choose to accept the default port of 21. For this walk- through, do not use a host name, so make sure that the Virtual Host box is blank. Make sure that the Certificates drop-down is set to “Not Selected” and that the Allow SSL option is selected. When you have completed these items, click Next.
On the next page of the wizard: Select Anonymous for the Authentication settings. For the Authorization settings, choose “Anonymous users” from the Allow access to drop-down, and select Read for the Permissions option. When you have completed these items, click Finish.
You have successfully created a new FTP site using the new FTP service.