FTP Virtual Directory Is Not Displayed in Directory Listing (228909)



The information in this article applies to:

  • Microsoft Internet Information Server 4.0

This article was previously published under Q228909
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

SYMPTOMS

A virtual directory in an FTP site cannot be seen by the client.

RESOLUTION

Under the FTP site's home directory, create a physical subdirectory with the same name as the alias of the virtual directory.

As an example, assume the FTP site is set up as follows:
  • FTP site home directory: C:\INETPUB\FTPROOT
  • Virtual directory alias: TEST
  • Physical directory associated with the TEST virtual directory: C:\FILES
Create a TEST subdirectory under the home directory. In this example, the full path for that subdirectory is C:\INETPUB\FTPROOT\TEST.

The next time you use the FTP client to browse the FTP site, you will see TEST listed as a directory.

When the TEST directory is opened, the contents of the physical directory C:\FILES will actually be displayed (rather than the contents of C:\INETPUB\FTPROOT\TEST).

Note: The names of the alias and matching physical subdirectories are NOT case sensitive.

(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Kevin Zollman, Microsoft Corporation.


Modification Type:MinorLast Reviewed:6/22/2005
Keywords:kbpending kbprb KB228909