FTP Virtual Directory Is Not Displayed in Directory Listing

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.

Svojstva

ID članka: 228909 - posljednja izmjena: 30. srp 2008. - verzija: 1

Povratne informacije