BUG: FtpOpenFile Fails If Files Are Not Read Completely (238796)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
- Microsoft Internet Explorer (Programming) 5
This article was previously published under Q238796 SYMPTOMS
After you open (FtpOpenFile) and close (InternetCloseHandle) several files under a directory, the next call to FtpOpenFile fails with error 12003 (ERROR_INTERNET_EXTENDED_ERROR), if you do not read (InternetReadFile) the previously opened files completely. The problem will not occur if the files are read completely, or if a new FTP connection is opened each for each FtpOpenFile call.
RESOLUTION
Call InternetReadFile and read all of the data off the handle.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 7/20/2001 |
---|
Keywords: | kbbug kbDSupport KB238796 |
---|
|