You cannot upload more than 100 files to an FTP Web site at the same time (841017)



The information in this article applies to:

  • Microsoft Internet Information Services 5.0
  • Microsoft Internet Information Server 4.0

We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

SYMPTOMS

If you try to upload more than 100 files at the same time to a File Transfer Protocol (FTP) site that is hosted by Microsoft Internet Information Server (IIS) 4.0 or Microsoft Internet Information Services (IIS) 5.x, only 100 files are uploaded to the site. The remaining files are not uploaded to the FTP site.

CAUSE

In IIS 4.0 and in IIS 5.x, uploading files to an FTP site is a synchronous process. Each synchronous process uses a separate thread for running. Only 100 threads can be created. Therefore, you cannot upload more than 100 files at the same time because no threads are available to support uploading more files asynchronously.

STATUS

This behavior is by design.

MORE INFORMATION

You can use Microsoft Internet Information Services (IIS) 6.0 on Microsoft Windows Server 2003 to upload more than 100 files at the same time. In IIS 6.0, file uploading to an FTP site is an asynchronous process, and uploading multiple files does not require multiple threads. Therefore, the way IIS 6.0 uses threads is different from the way that earlier versions of IIS use threads when you upload multiple files to the FTP site at the same time.

Steps to reproduce the problem

To reproduce the problem, create and run an FTP Web site, and then upload the files to the FTP Web site.

Note You cannot reproduce this problem if the FTP Publishing Service is not installed on the computer that is running IIS 4.0 or IIS 5.x. You also cannot reproduce this problem if you block the FTP communication from entering the network.

Create and run an FTP site

  1. Click Start, and then click Run. The Run dialog box appears.
  2. Type inetmgr in the Open box, and then click OK. The Internet Information Services window appears.
  3. Expand <Computer Name>.

    Note <Computer Name> is a placeholder for the name of your computer.
  4. Right-click Default FTP Site, point to New, and then click Site. The FTP Site Creation Wizard starts.
  5. Click Next. The FTP Site Description page appears.
  6. Type <Name> in the Description box, and then click Next. The IP Address and Port Settings page appears.

    Note <Name> is a placeholder for the name of the FTP site that you want to create.
  7. Type <IP Address> in the IP address box, and then click Next. The FTP Site Home Directory page appears.

    Note <IP Address> is a placeholder for the Internet Protocol (IP) address of the FTP site.
  8. Type the path of the directory that you want to use as your home directory in the Path box, and then click Next. The FTP Site Access Permissions page appears.

    Note You can also locate the directory by using the Browse button instead of by typing the path.
  9. Click to select the Write check box, and then click Next.
  10. Click Finish to close the FTP Site Creation Wizard.

Upload the files to the FTP Web site

  1. Download and run the Myftp.exe file.

    The following file is available for download from the Microsoft Download Center:
    DownloadDownload the Myftp.exe package now.

    For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

    119591 How to Obtain Microsoft Support Files from Online Services

    Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
  2. In the FTP Test dialog box, type <IP Address> in the FTP Server Address box.

    Note <IP Address> is a placeholder for your IP address.
  3. Type <username> in the User Name box, and then type <password> in the Password box.
    Note <username> is a placeholder for the user name of your computer, and <password> is a placeholder for the password of your computer.
  4. Type a number that is larger than 100 in the Number Of Connections box, and then click Upload.
  5. After the files are uploaded, locate the directory that you selected as the home directory in the "Create and run an FTP Web site" section. You notice the behavior that is mentioned in the "Symptoms" section.

REFERENCES

For more information, visit the following Microsoft Web sites: For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

243947 FTP service not installed by default in IIS 5.0


Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kbFTP kbService kbprb KB841017 kbAudDeveloper