Search Tools Links Login

Winsock HTTP download class


Visual Basic 6, or VB Classic

This is a simple HTTP download class using WinSock. This class extracts the server name from the URL so all you say is wsc.geturl txturl.
shows progress and parses the header object returned by the server and throws an error event on a bad response. The full header is made available. Currently this just downloads to memory using the cAppendString class since I just needed this for HTML parsing but it could easily be modified to save to a file.
Enjoy and please Vote. Or comment or negativaly comment ............or don't.

Original Author: RegX

Assumptions

Requires:
ref to Microsoft Scripting Runtime.
ref to MSWinsockLib.Winsock (Mswinsck.ocx)

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 103 times

Categories

Visual Basic 6

Attachments

Winsock_HT725404162002.zip
Posted: 9/3/2020 3:45:00 PM
Size: 6,615 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.