Configuring the sites directory structure

An FTP site's home directory is defined when you create the site, but you can modify the directory through the Home Directory page of the site's properties in the IIS console. The site's home directory can be a folder on the local computer or a share on the network. Subfolders of the home directory appear within the site's folder structure just as they do on the local computer or network share.

You can configure a site's home directory for Read, Write, and Log Visits. Read enables users to download from the site, and Write enables them to upload to the site, subject to any NTFS permissions you might apply to the folder and its contents. The Log Visits option turns on access logging to the selected folder if logging is enabled for the site in the FTP Site property page.

In addition to defining the home directory, you also can configure virtual folders for the FTP site. A virtual folder functions as part of the site's directory structure but is effectively hidden from users — it doesn't appear when users browse the site or issue a DIR command from an FTP prompt. However, users can connect to the folder in one of two ways: by specifying the folder explicitly in the browser or FTP prompt or by connect with a user account that matches the virtual folder's alias name.

To create a new virtual folder, open the IIS console, right-click the FTP site where you want to create the folder, and choose New O Virtual Directory. A wizard prompts you for the folder's alias name, path, and Read/Write properties. After you create the folder, right-click the folder in the IIS console and choose Properties to set its properties, which are similar to those for a home directory but more limited.

Note As with a home directory and its child objects, a virtual folder's NTFS permissions control access to the folder and its contents in conjunction with the Read and Write properties you set for the folder when you create it in IIS.

Was this article helpful?

0 0

Post a comment