Install IIS on Server 2008
Click Start, point to Administrative Tools and then click Server Manager.
In Roles Summary, click Add Roles.
Use the Add Roles Wizard to add the Web server role.
To install the FTP service on Windows Server 2008
On the Start menu, click Administrative Tools, and then clickServer Manager.
In the Server Manager Pane, in the Roles Summary section, clickWeb Server (IIS).
In the Web Server (IIS) section, click Add Role Services.
Under Role services, select FTP Publishing Service. This will install the FTP service and the FTP management console.
Click Next, and then click Install.
Configure iis for FTP using Anonymous login
Go to IIS 7 Manager. In the Connections pane, click the Sites node in the tree.
Right-click the Sites node in the tree and click Add FTP Site, or click Add FTP Site in the Actions pane.
When the Add FTP Site wizard appears:
•Enter “My New FTP Site” in the FTP site name box, then navigate to the “%SystemDrive%inetpubftproot” folder that you created in the Prerequisites section. Note: If you choose to type in the path to your content folder, you can use environment variables in your paths.
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 accessing this FTP site remotely, you want to make sure that you do not restrict access to the local server and enter the local loopback IP address for your computer by typing “127.0.0.1″ in the IP Address box.
•You would normally enter the TCP/IP port for the FTP site in the Port box. For this walk-through, you will choose to accept the default port of 21.
•For this walkthrough, you 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.
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. Select Read for the Permissions option.
Go to IIS 7 Manager. Click the node for the FTP site that you created. The icons for all of the FTP features display.
Configure the passive port range for the FTP service
Go to IIS 7 Manager. In the Connections pane, click the server-level node in the tree.
Double-click the FTP Firewall Support icon in the list of features.
Enter a range of values for the Data Channel Port Range.
Once you have entered the port range for your FTP service, click Apply in the Actions pane to save your configuration settings.
Configure the external IPv4 Address for a Specific FTP Site
Go to IIS 7 Manager. In the Connections pane, click the FTP site that you created earlier in the tree, Double-click the FTP Firewall Support icon in the list of features.
Enter the IPv4 address of the external-facing address of your firewall server for the External IP Address of Firewall setting.
Once you have entered the external IPv4 address for your firewall server, click Apply in the Actions pane to save your configuration settings.
Open Firewall to FTP Trafic
Open a command prompt: click Start, then All Programs, then Accessories, then Command Prompt.
To open port 21 on the firewall, type the following syntax then hit enter:
netsh advfirewall firewall add rule name=”FTP (non-SSL)” action=allow protocol=TCP dir=in localport=21
To enable stateful FTP filtering that will dynamically open ports for data connections, type the following syntax then hit enter:
netsh advfirewall set global StatefulFtp enable