Microsoft KB Archive/931209

= The exit message of an Internet Information Services 7.0 FTP site is truncated to only 1,017 characters =

Article ID: 931209

Article Last Modified on 3/17/2007

-

APPLIES TO


 * Microsoft Internet Information Services 7.0
 * Windows Vista Business
 * Windows Vista Home Premium
 * Windows Vista Ultimate
 * Windows Vista Home Premium 64-bit edition
 * Windows Vista Ultimate 64-bit edition

-



SYMPTOMS
When you visit and then leave a Microsoft Internet Information Services (IIS) 7.0 FTP site, the exit message is truncated to only 1,017 characters. However, you expect the whole exit message to appear when you leave the FTP site.



CAUSE
This behavior occurs because of a limitation in the length of the FTP site exit message in IIS 7.0. In IIS 7.0, the exit message is limited to 1,024 characters.



WORKAROUND
To work around this behavior, limit the FTP site exit message to 1,017 characters.

Although the exit message may contain 1,024 characters, the 1,024 characters include the &quot;221&quot; FTP status code, a space character, and the line feed and carriage return escape characters. Therefore, only 1,017 characters are available for the actual exit message text.



STATUS
This behavior is by design.



Steps to reproduce the behavior

 * 1) Configure an FTP site in IIS 7.0.
 * 2) Click Start, type iis manager in the Start Search box, and then click Internet Information Services (IIS) 6.0 Manager in the Programs list.

If you are prompted for an administrator password or confirmation, type your password or click Continue.
 * 1) Expand the computer name, expand FTP Sites, right-click the FTP site, and then click Properties.
 * 2) Click the Messages tab, paste a message that has more than 1,017 characters in the Exit box, and then click OK
 * 3) On a remote computer, click Start, click Run, type cmd, and then click OK.
 * 4) Type ftp, and then press ENTER.
 * 5) Type open , and then press ENTER.

Note Replace  with the host name or IP address of the FTP server.
 * 1) If you are prompted for a user name, type the user name, and then press ENTER. Then, type the password, and then press ENTER.
 * 2) Type bye, and then press ENTER.

Notice that the exit message only contains 1,017 characters.

Keywords: kbtshoot kbprb KB931209

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.