The information in this article applies to:
SYMPTOMSAfter 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. RESOLUTIONCall InternetReadFile and read all of the data off the handle. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce BehaviorAdd the following function OpenAndClose to the SDK FTPJR sample. Call it from FtpEnumDirectory. After opening and closing several files in a directory, the next call to FtpOpenFile fails with error 12003. If you uncomment the following while ( InternetReadFile ... ) statement, the error will not occur.Entering "ls" and the FTP Jr command prompt will execute the FtpEnumDirectory function.
Additional query words:
Keywords : kbIE400 kbIE401sp1 kbIE401sp2 kbIE500 kbDSupport |
Last Reviewed: October 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |