Q154962: IIS FTP Server Does Not Use Continuation Character Correctly
Article: Q154962
Product(s): Internet Information Server
Version(s): 1.0,2.0
Operating System(s):
Keyword(s): kbnetwork
Last Modified: 20-FEB-2002
-------------------------------------------------------------------------------
The information in this article applies to:
- Microsoft Internet Information Server versions 1.0, 2.0
-------------------------------------------------------------------------------
SYMPTOMS
========
The FTP service in Internet Information Server versions 1.0 and 2.0 with
directory annotation enabled uses a space for a continuation character in a
multi-line response rather than a minus sign (-) as per RFC 959.
Notice the correct behavior below with the Microsoft Windows NT FTP Server. The
230 line is followed immediately by the continuation character (-):
230------------------------------------------------------------------------
and here with the IIS FTP Server it is incorrect
230 -----------------------------------------------------------------------
This can create problems for auto connecting ftp clients.
STATUS
======
Microsoft has confirmed this to be a problem in Microsoft Internet Information
Server versions 1.0 and 2.0. We are researching this problem and will post new
information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
================
According to J. Postel & J. Reynolds, RFC 959 - File Transfer Protocol
(1985), page 35:
"Thus the format for multi-line replies is that the first line will begin
with the exact required reply code, followed immediately by a Hyphen, "-"
(also known as Minus), followed by text. The last line will begin with the
same code, followed immediately by Space <SP>, optionally some text,
and the Telnet end-of-line code."
Additional query words: prodiis
======================================================================
Keywords : kbnetwork
Technology : kbiisSearch kbiis200 kbiis100
Version : :1.0,2.0
Issue type : kbbug
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.