FTP Site Setup
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008
IIS includes the File Transfer Protocol (FTP) service for publishing and managing files. This version of IIS includes Isolating FTP Users to help administrators (particularly Internet hosting providers) efficiently secure and commercialize FTP services for their customers.
The FTP service is not installed by default. To set up an FTP site, you must first install the FTP service through the Control Panel. Installing the FTP service creates a default FTP site, which you can then customize to your needs using IIS Manager.
To install the FTP service
From the Start menu, click Control Panel, double-click Add or Remove Programs, and then click Add/Remove Windows Components.
From the Components list, click Application Server, and then click Details.
From the Subcomponents of Application Server list, click Internet Information Services (IIS), and then click Details.
From the Subcomponents of Internet Information Services (IIS) list, select the File Transfer Protocol (FTP) Service check box, and then click OK.
Click Next. You might be prompted for the Windows Server 2003 product CD or the network install path.
Caution FTP sites or virtual directories that are configured to use Active Directory isolation or FTP load balancing should not be mapped to physical directories that are used for Web sites that use FrontPage® Server Extensions from Microsoft. Doing so can allow users to view any files in that folder structure over the network.
When you install the FTP service, a default FTP directory is created at LocalDrive:\Inetpub\Ftproot.
Setting up the FTP service for the first time involves first setting global FTP settings, then settings for the default FTP site, and finally adding the content to the FTP site. IIS uses an inheritance model, which means that settings on higher levels are automatically inherited by lower levels. Settings at lower levels can be edited individually to override inherited settings from the next level up.
If you change a setting at a lower level, then later change a setting at a higher level that conflicts with the lower-level setting, you will be prompted to choose whether you want to change the lower-level setting to match the new higher-level setting.
Before setting up the FTP service, see Securing FTP Sites with IIS 6.0 for clarification on security issues associated with the FTP service.
You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /User:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".
To globally change FTP settings
In IIS Manager, expand the local computer, right-click the FTP Sites folder, and click Properties.
Change the default settings on the property pages as needed. The changes are inherited by all FTP sites on your computer. For information about individual settings, click Help.
To change settings for the default FTP site
In IIS Manager, expand the local computer, expand the FTP Sites folder, right-click Default FTP site, and click Properties.
Change the default settings on the property pages to replace any inherited settings as needed. For information about individual settings, click Help.
To publish content on your FTP site
- Copy or move your content files into the default FTP publishing directory.
If your network has a name resolution system, for example, DNS, visitors can type ftp:// followed by your computer name in the address box of their browsers to reach your site. If your network does not have a name resolution system, visitors must type ftp://, followed by the numerical IP address of your computer.
For information about administering or adding an FTP site, see FTP Site Administration.
For conceptual information describing hosting multiple sites on one computer, see Hosting Multiple Web Sites on a Single Server.
To add virtual directories to an FTP site, see Using Virtual Directories with FTP Sites.
To customize the appearance of your FTP site, see Setting FTP Messages and Directory Output Style.
For information about isolating FTP users and the additional security it can provide, see Isolating FTP Users.