How to Do Anonymous Uploads

ID: Q179566


The information in this article applies to:
  • Microsoft Site Server versions 2.0, 3.0
  • Microsoft Internet Information Server versions 3.0, 4.0

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY

This article describes how to modify a system so that Microsoft Posting Acceptor 1.01 will accept anonymous uploads.


MORE INFORMATION

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

For Microsoft Internet Information Server (IIS) 3.0:

  1. Remove the authentication code from any .asp files involved with the upload process (for example, upload*.asp, repost.asp).


  2. Set the TargetURL variable to a directory that IUSR_<machinename> has write access to.


  3. Start In the .asp files involved with the upload process and open the following location in the registry:
    HKEY_LOCAL_MACHINE\Software\Microsoft\WebPost\Acceptors\CPSHost


  4. Create a new REG_DWORD value named "AllowAnonymous" and set the value to "1" (both without the quotation marks).


  5. Restart the computer.


For Microsoft Internet Information Server (IIS) 4.0:

  1. In the Microsoft Management Console (MMC), create a virtual root with write access permissions (as designated in the MMC).


  2. Make sure that the Allow Anonymous option is enabled for the virtual root created, for the /Scripts directory, and for the Web root.


  3. In the .asp files involved with the upload process, remove the authentication code.


  4. Set the TargetURL variable in the Postinfo.asp and Upload.asp files to a directory that IUSR_<machinename> has WRITE access in both the virtual directory settings and in the NTFS file/directory permissions.


  5. Start Regedt32.exe, and open the following location in the registry:
    HKEY_LOCAL_MACHINE\Software\Microsoft\WebPost\Acceptors\CPSHost


  6. Create a new REG_DWORD value named "AllowAnonymous" and set the value to "1" (both without the quotation marks).


  7. Verify that the IUSR_<machinename> and System accounts have WRITE access to the \TEMP directory and to the directory that the TargetURL is pointing to.


  8. Verify that your Cpshost.dll file is a newer version than 6.0.86.0. If not, update your version of Posting Acceptor.


  9. Restart the computer.


Note: Adding the REG_DWORD value to the registry to allow anonymous uploads does not work with Cpshost.dll version 6.0.86.0.

Additional query words:

Keywords :
Version : winnt:2.0,3.0,4.0
Platform : winnt
Issue type : kbinfo


Last Reviewed: November 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.