Microsoft KB Archive/931197

= IIS 7.0 does not return the directory list if you enter an FTP LIST command together with a file mask argument =

Article ID: 931197

Article Last Modified on 3/17/2007

-

APPLIES TO

 Microsoft Internet Information Services 7.0, when used with:  Windows Vista Business

 Windows Vista Home Premium

 Windows Vista Ultimate

 Windows Vista Home Premium 64-bit edition</li></ul>

 Windows Vista Ultimate 64-bit edition</li></ul> </li></ul>

-

<div class="symptoms_section">

SYMPTOMS
When you access a Microsoft Internet Information Services (IIS) 7.0 FTP site that is running on a Windows Vista-based computer, you experience the following symptoms:  If you enter an FTP LIST command, IIS 7.0 returns the directory list to the FTP client application as expected.</li> If you enter an FTP LIST command together with a file mask argument, IIS 7.0 does not return the directory list to the FTP client application.

Note The following command is an example of an FTP LIST command together with a file mask argument:

dir *.xml

</li></ul>

You expect IIS 7.0 to return the directory list when you specify the kinds of files to list.

<div class="workaround_section">

WORKAROUND
To work around this problem, do not use an FTP LIST command together with a file mask argument.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

Steps to reproduce the problem
<ol> Install and then configure an IIS 7.0 FTP site on a Windows Vista-based computer.</li> In the home folder of the FTP site, create two files, and then name the files the File.txt file and the File.xml file.</li> On a remote computer, start a command prompt.</li> Type ftp, and then press ENTER.</li> Type open, and then press ENTER.

Note In this command, replace  with the name or with the IP address of the Windows Vista-based FTP server.</li> Enter a user name and a password if you are prompted to do this.</li>  Enter an FTP LIST command. To do this, type dir, and then press ENTER.

Notice that both files appear in the directory list. For example, results that resemble the following appear: <pre class="fixed_text">200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. 4 file.txt 4 file.xml 226 Transfer complete. </li>  Enter an FTP LIST command together with a file mask argument. To do this, type dir *.xml, and then press ENTER.

Notice that the File.xml file does not appear in the directory list. For example, results that resemble the following appear: <pre class="fixed_text">200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls. 226 Transfer complete. </li></ol>

Keywords: kbpending kbbug kbtshoot kbprb KB931197

-

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

© Microsoft Corporation. All rights reserved.