FIX: SIZE Command Does Not Work in Internet Transfer Control (199856)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q199856 SYMPTOMS
When you use the Internet Transfer Control to run the SIZE command, icResponseCompleted is not returned to the StateChanged event, and you cannot obtain a size.
CAUSE
This problem occurs because the Internet Transfer Control is not properly handling the WM_INET_FTPSIZE message.
RESOLUTION
To obtain a file size through a Visual Basic application, you can use the FtpFindFirstFile and InternetFindNextFile WinInet functions directly.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Internet Transfer Control that shipped with Microsoft Visual Basic 6.0.
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbbug kbfix KB199856 |
---|
|