The information in this article applies to:
SYMPTOMSWhen you use the Microsoft Internet Transfer Control (ITC) to transfer text files to or from certain servers, the resulting file appears corrupted. It might appear to have extra or missing characters, or consist of completely meaningless garbage data. CAUSEThe Microsoft Internet Transfer Control does not offer the option of an ASCII-type FTP file transfer. This can make it impossible to transfer text files to or from certain servers using this control. RESOLUTION
Because the control does not offer this functionality, it cannot be used in
situations where an ASCII-type transfer is required. One possible
workaround is to call the Win32 Internet (WinInet) FTP APIs directly. These
APIs are used by the ITC, and offer the option of either a binary or ASCII
transfer, even though an ASCII-type transfer option is not exposed in the
ITC.
Q175179 : FILE: VBFTP.EXE: Implementing FTP Using WinInet API from VB STATUSThis behavior is by design. The Internet Transfer Control is not a complete implementation of the FTP protocol. MORE INFORMATION
The FTP protocol offers two types of transfers: binary and ASCII. In a
binary download (which is always used by the ITC), the FTP server sends to
the client the exact contents of a file. In a binary upload, the FTP server
stores exactly what the client sends. This is desirable behavior for most
types of files, such as executable programs, images, word processor
documents, and so on.
Additional query words: kbVBp500 kbDSupport kbdsi
Keywords : |
Last Reviewed: May 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |