HTTP UserControl for File Download

This is a UserControl for downloading files via HTTP. It uses Winsock1.1 (wsock32.dll) for functionality, making it compatible with all versions of Windows from Win95 up. The only dependency is the VB6 runtime. You don't need to bother with the Winsock OCX or check the installed version of IE.

This UC is fairly basic. It starts Winsock, connects to a server, requests a file, and handles the download. Server response codes and redirect info. (if any) are also retrieved with the file, and there are functions to write text and binary files to disk after download.

Download httpuc.zip (12kb)

fullnotes: jsware
Previous Post
Next Post
Related Posts