Microsoft KB Archive/228909

From BetaArchive Wiki
Knowledge Base


FTP Virtual Directory Is Not Displayed in Directory Listing

Article ID: 228909

Article Last Modified on 6/22/2005



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.



Additional query words: vdir folder missing empty show listing ls dir akz

Keywords: kbprb kbpending KB228909