UEU-co logo

ch23lev1sec7.html


Previous Page Next Page

Creating FTP Sites

Hosting an FTP site on your IIS server can be a great way to provide the users on your network with either files that they need or a place to store files that are shared as part of a particular project. Supplying a repository of downloadable files might also be important to your company as a service that you provide to your public web users. As with the web server service of IIS, the FTP service can be used on the public Internet or for your private corporate intranet.

The FTP service can be added when you install the Web Server (IIS) role. If you need to add FTP to an existing server configured for IIS, follow these steps:

1. Expand the Roles node in the Server Manager (Start, Administrative Tools, Server Manager).

2. In the Add Role Services window, click the FTP Publishing Service check box (see Figure 23.18). If the Add Roles Services Required for FTP Publishing Service dialog box opens, click Add Required Role Services. Then click Next.

Figure 23.18. Add the FTP Publishing Service.

[View full size image]

3. Click Install to add the FTP services.

4. When the installation is complete, click Close.

Expand the IIS Server node (in the IIS Manager or the Server Manager) and you can see that an FTP Sites node has been added to the node tree. However, the FTP service is actually managed in the IIS 6.0 Manager snap-in (originally provided in Windows Server 2003). To open the IIS 6.0 Manager, click the Click Here to Launch link in the IIS Manager or the Server Manager when the FTP Sites node is selected (you can also start IIS 6.0 Manager from the Start menu (Start, Administrative Tools, and then IIS 6.0 Manager).

The first thing that you should do is start the Default FTP Site. (You can use the default site or create additional sites as needed.) Expand the FTP Sites node in the IIS 6.0 Manager (see Figure 23.19).

Figure 23.19. The IIS 6.0 Manager snap-in.

[View full size image]

Right-click the Default FTP Site node (or, in the future, any FTP site you want to start). On the shortcut menu, select Start. An IIS6 Manager dialog box opens. Click Yes to start the site.

Although you are using a snap-in from a previous version of IIS, you can set global settings for FTP sites or settings for each FTP site, using the FTP Sites Properties dialog box or the Properties dialog box for a specific site. To access the Properties dialog box, either right-click the FTP Sites node or a FTP site node and then select Properties from the shortcut menu.

As already mentioned, a default FTP site is created when you install the FTP service. Table 23.1 provides an overview of the tabs found on the Properties dialog boxes for both the global and specific settings (the tabs are very similar on the two different Properties dialog boxes).

Table 23.1. FTP Properties
Property Dialog Box Tab Settings
FTP Site Enables you to set the description for the site, the IP address, and the TCP port. It also enables you to set the number of site connections and the log format.
Security Accounts Allows you to enable or disable anonymous logon and select the user account used for anonymous logon.
Messages Enables you to set the banner, welcome, and exit messages displayed when users log on to the FTP site.
Home Directory Used to specify the content directory, the local path for the FTP directory, and permissions (Read, Write, Log visits) for the site. You can also specify whether directory listings should be in UNIX or MS-DOS format.
Directory Security Enables you to deny or permit access based on IP addresses. By default, all computers are granted access.

You can use Windows Explorer to quickly populate the FTP site. The FTP root folder is c:inetpubftproot. Any files placed in this folder (just copy them to the folder, using Windows Explorer, from anywhere on your network) are available to your users. The default permission, Read, gives them the capability to download files from the site.

If you also want to enable users to upload files to the site using their web browser or an FTP client, you must enable the Write permission on the site. You can do this in the FTP site’s Properties dialog box.

Right-click the site in the Details pane and then select Properties. Select the Home Directory tab (see Figure 23.20).

Figure 23.20. Enable Write capabilities on the FTP site.

On the tab, select the Write check box. Then click OK.

By the Way

After the FTP site is up and running (and has been populated with files), links to the FTP site can be placed on web pages provided by the IIS server, making it easy for users to download files from or upload them to the FTP server.

Previous Page Next Page

Leave a Reply


Time limit is exhausted. Please reload the CAPTCHA.

Categories

apply_now Pepperstone Group Limited