SAMPLE: Internet Transfer Control Samples (286809)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP4
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 SP3
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
This article was previously published under Q286809 SUMMARY
This article includes two samples that demonstrate how to use the Internet Transfer Control (ITC) for File Transfer Protocol (FTP) and for Hypertext Transfer Protocol (HTTP).
The ITC_HTTPSample.exe file demonstrates how you can use ITC asynchronously by using the Execute method for HTTP verbs, such as GET and POST, with or without user credentials. This sample also shows how you can use the control synchronously by using the OpenURL method to perform an HTTP GET request.
The ITC_FTPSample.exe file demonstrates how you can use ITC for FTP commands such as Dir, CD, Rename, Put, Size, Get, and Delete, with or without user credentials (user name and password).
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
233037 INFO: Limitations of Internet Transfer Control
263839 HOWTO: Use Long File Names with the Internet Transfer Control Execute Method
173264 HOWTO: Internet Transfer Control Using Username and Password
171379 HOWTO: Use the Proxy Property in the Internet Transfer Control
229666 HOWTO: Download a Binary File with the Internet Transfer Control via the GetChunk Method
188956 PRB: ITC Cannot Perform ASCII-type FTP Transfer
Modification Type: | Major | Last Reviewed: | 6/24/2005 |
---|
Keywords: | kbdownload kbdownload kbfile kbinfo kbITC KB286809 kbAudDeveloper |
---|
|