Microsoft KB Archive/286809

= SAMPLE: Internet Transfer Control Samples =

Article ID: 286809

Article Last Modified on 6/24/2005

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Enterprise Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition Service Pack 4
 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition Service Pack 3
 * Microsoft Visual Basic 5.0 Professional Edition
 * Microsoft Visual Basic 6.0 Professional Edition

-



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.



MORE INFORMATION
The following files are available for download from the Microsoft Download Center:

Download ITC_HTTPSample.exe now

Release Date: September 10, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. The ITC_HTTPSample.exe file contains the following files:

Download ITC_FTPSample.exe now

Release Date: September 10, 2002

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. The ITC_FTPSample.exe file contains the following files:

