DOCUMENT:Q247714 31-JUL-2001 [iis] TITLE :Using PUT Command for a Long File Name Causes "HTTP 404" Error PRODUCT :Internet Information Server PROD/VER:winnt:5.0 OPER/SYS: KEYWORDS:kbOSWin2000 kbiis500prod2web kbhttp404 kbProd2Web ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Internet Information Services version 5.0 ------------------------------------------------------------------------------- SYMPTOMS ======== When you attempt you use the put command to put a file to the Web server, you may receive the following error message: HTTP/1.1 Error 404 - File not found CAUSE ===== This is a known issue with Internet Information Services 5.0 that occurs when you attempt a put to a URL, where the name of the file is longer than the permitted NTFS file name length. WORKAROUND ========== When you put a file to the Web server, do not exceed the permitted NTFS file name length of 256 characters, which does not include the path portion of the put command. Additional query words: IIS 5 ====================================================================== Keywords : kbOSWin2000 kbiis500prod2web kbhttp404 kbProd2Web Technology : kbiisSearch kbiis500 Version : winnt:5.0 Issue type : kbprb Solution Type : kbnofix ============================================================================= 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. Copyright Microsoft Corporation 2001.