Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Truncated data and subsequent FTP operations fail on the same session in Internet Explorer 11 when you use InternetWriteFile to upload files


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a C++ application to send files to FTP server by using InternetWriteFile API.
  • You read the file and write the content by using InternetWriteFile API.
  • The entire file is uploaded and the file handle is closed.
In this scenario, you may find all data has not yet reached the server and the file is truncated. Additionally, the subsequent FTP operations on the same session fail.

Note This issue does not occur on Internet Explorer 8, Internet Explorer 9 and Internet Explorer 10.

↑ Back to the top


Cause

After you call InternetWriteFile() API, the InternetCloseHandle() API will be called. In Internet Explorer 9 and Internet Explorer 10, InternetClosehandle() is waiting for 226 Transfer complete, then the next command works. However, in Internet Explorer 11, InternetClosehandle() does not wait for 226 Transfer complete. Therefore, the data channel may be closed before all data has reached the server. Additionally subsequent FTP commands will fail.

↑ Back to the top


Resolution

Update information

To resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to Microsoft Update.

For technical information about the most recent cumulative security update for Internet Explorer, go to the following Microsoft website:Note This update was first included in security update 2909921.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2909921 MS14-010: Cumulative security update for Internet Explorer: February 11, 2014

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


References

See the terminology that Microsoft uses to describe software updates.

↑ Back to the top


Keywords: kbqfe, kbfix, kbsurveynew, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 2925463
Revision : 1
Created on : 1/7/2017
Published on : 2/11/2014
Exists online : False
Views : 207