Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/103077

From BetaArchive Wiki
Knowledge Base


How to Use Directory Annotation with FTP Server in NT

Article ID: 103077

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Advanced Server 3.1



This article was previously published under Q103077

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.

You can add directory descriptions to inform File Transfer Protocol (FTP) users of the contents of a particular directory on the server. A file called ~FTPSVC~.CKM can be created in the directory to be annotated with the information to be displayed to the user. Usually, you want to make this file hidden, so that directory listings do not display this file. To do this, enter the following command from the Command Prompt:

   attrib +h ~ftpsvc~.ckm
        

Directory annotation can be toggled by FTP users on a user-by-user basis with a built-in, site-specific command called CKM. On most FTP client implementations (including the Windows NT FTP client), users enter a command similar to

   quote site ckm
        

to get this effect.

The administrator can control the default behavior of this feature for newly connected users by setting a value for AnnotateDirectories in the Registry using the Registry Editor.

To turn on annotation by default, edit the Registry (REGEDT32.EXE) and set the value of AnnotateDirectories to 1. A value of 0 indicates that directory annotation is off by default. The path to this entry is as follows:

   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FtpSvc
   \Parameters
        

Keywords: kbnetwork KB103077