How to Set Up Directory Annotation for Internet Server FTP

Last reviewed: May 29, 1997
Article ID: Q141705
The information in this article applies to:
  • Microsoft Internet Information Server version 1.0

SUMMARY

You can add directory descriptions to inform FTP users of the contents of directories on the server. To annotate files:

  1. Create a file called ~ftpsvc~.ckm in the directory where you want to annotate with the information to be displayed to the user.

  2. In Windows NT File Manager, select the file and make it a hidden file so that directory listings do not display this file.

NOTE: This only works with the command line FTP on one line. If you are using Microsoft Internet Explorer for FTP, and using directory annotation, Internet Explorer will give you the following error message:

   Internet explorer could not open site <address>

Netscape browser will not give an error, but it does not work.

This is a client/browser problem.

MORE INFORMATION

Directory annotation can be toggled by FTP users on a user-by-user basis with a built-in, site-specific command called ckm. This varies depending on the FTP client used. For a Microsoft FTP client, the command "literal SITE CKM" toggles annotations for the FTP client on or off.

To change the FTP Server service configuration in the Registry:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  1. Run Registry Editor (Regedt32.exe).

  2. From the HKEY_LOCAL_MACHINE subtree, go to the following key:

          SYSTEM\CurrentControlSet\Services\msftpsvc\Parameters
    

  3. Add the entry:

    AnnotateDirectories Data type = REG_DWORD Range = 0 or 1 (default = 0)

    0, false - directory annotation is off 1, true - directory annotation is on

    The value, AnnotateDirectories, does not appear by default in the registry, so you must add an entry if you want to change its default value.

  4. Set this value is 1 to enable directory annotation.

  5. Choose OK and quit Registry Editor.

  6. Shut down and restart Windows NT.


Additional query words: prodiis
Keywords : iisftp kbusage
Version : 1.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.