Q247714: Using PUT Command for a Long File Name Causes "HTTP 404" Error
Article: Q247714
Product(s): Internet Information Server
Version(s): winnt:5.0
Operating System(s):
Keyword(s): kbOSWin2000 kbiis500prod2web kbhttp404 kbProd2Web
Last Modified: 31-JUL-2001
-------------------------------------------------------------------------------
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 1986-2002.