How do I configure FTP in IIS?
One of the most common, and simplest way to upload information to your server is through FTP (File Transfer Protocol). This allows a user to connect to a specific location on the server without having full access to the server. FTP users can be created with read and/or write access. FTP users can be configured on the server through IIS.
To configure an FTP site in IIS, please follow these steps:
- Log into your server through Terminal Services or Remote Desktop Connection.
- Create a username you would like to have FTP access to the server. For detailed instructions on creating a new user please see How do I create a new user on my Windows 2000 & 2003 Server?
- Click Start, Programs, Administrative Tools, Internet Services Manager.
- Open the New FTP Site Wizard:
- In IIS 5.0, right click the machine name and select New, FTP site.
- In IIS 6.0, expand local machine and right click on FTP Sites and select New, FTP site.
- Click Next to begin.
- Enter a description for the site. Typically this will be the domain name for the site.
- Select the IP address for the site, or if the customer is using name based hosting select [All Unassigned] The TCP Port remains 21.
- Click Next.
- If you are using IIS 6.0 you will need to set FTP User Isolation. We strongly recommend you select Do not isolate Users.
- Click Next.
- Enter the path to the directory you wish the user to have FTP access to. This can be the full site directory or limited to a single sub directory.
- Click Next.
- Set the Access Permissions, Read and/or Write. This will control the access level the FTP user has on the files in the FTP home directory.
- Click Next. Click Finish.
Once the FTP site is configured in IIS you will need to assign the FTP user you created to the FTP site.
To assign a user to the FTP site, please follow these steps:
- Right click the FTP site you created and select Properties.
- Select the Security Accounts Tab.
- Be sure Allow Anonymous Connections IS UNCHECKED. We do not allow Anonymous FTP access. This is a potential security risk for the server.
- Add the user to the FTP site.
- If you are using IIS 5.0, under FTP Site Operators, click Add. Select the FTP user from the Menu and click OK.
- If you are using IIS 6.0, right-click the FTP site and select Permissions. Select the FTP user and click OK.