Hypertext Transfer Protocol Control  
 

Transfer files between the local system and a web server, execute scripts and perform remote file management functions.

Reference

Control Information

Object Name HttpClientCtl.HttpClient
File Name CSHTPX10.OCX
Version 10.0.1468.2520
ProgID SocketTools.HttpClient.10
ClassID 30AE6E40-B2CB-4067-A98A-07DA8D6DD456
Threading Model Apartment
Help File CST10CTL.CHM
Dependencies None
Standards RFC 1945, RFC 2616

Overview

The Hypertext Transfer Protocol (HTTP) is a lightweight, stateless application protocol that is used to access resources on web servers, as well as send data to those servers for processing. The control provides direct, low-level access to the server and the commands that are used to retrieve resources (i.e.: documents, images, etc.). The control also provides a simple interface for downloading resources to the local host, similar to how the SocketTools FTP control can be used to download files.

In a typical session, the control is used to establish a connection, send a request (to download a resource, post data for processing, etc.), read the data returned by the server and then disconnect. It is the responsibility of the client to process the data returned by the server, depending on the type of resource that was requested.

This library supports secure connections using the standard SSL and TLS protocols.

Requirements

The SocketTools ActiveX Edition components are self-registering controls compatible with any programming language that supports COM (Component Object Model) and the ActiveX control specification. If you are using Visual Basic 6.0 you must have Service Pack 6 (SP6) installed. It is recommended that you install all updates for your development tools.

This control is supported on Windows 7, Windows Server 2008 R2 and later versions of the desktop and server platforms. If you are using Windows 7, you must have Service Pack 1 (SP1) installed as a minimum requirement. It is recommended that you install the current service pack and all critical updates available for the operating system.

This product includes both 32-bit and 64-bit ActiveX controls. Native 64-bit CPU support requires the latest 64-bit version of Windows 7, Windows Server 2008 R2 or later versions of the Windows operating system.

Distribution

When you distribute an application that uses this control, you can either install the file in the same folder as your application executable or as a shared component in the appropriate system folder. If you install the control in the system folder, it is important that you distribute the correct version for the target platform and it must be registered. If you install the control in the same folder as your executable, it is recommended that you use registration-free activation or COM redirection to ensure that the correct version of the control is loaded by the application.