|
-
Oct 24th, 2009, 07:03 AM
#1
Thread Starter
New Member
How to download using winsock
Dear all
any body help me..
How to download any file using winsock in vb6??? give me the code..
(but that website is password protected)
i tried in like : http://username [email protected]/demo.jpg , but failed.
plz. give me the VB 6 code?????
-
Oct 30th, 2009, 09:54 PM
#2
Hyperactive Member
Re: How to download using winsock
by download do you mean transfer?
-
Oct 31st, 2009, 09:21 AM
#3
Re: How to download using winsock
Many web sites do not rely on HTTP authentication, which is probably why that fails for you.
Instead they use some form of application authentication, typically through an HTML logon form. You'll have to go through that path instead, which means at least two HTTP requests: one to logon and then one to retrieve data once logged on.
-
Nov 2nd, 2009, 12:17 PM
#4
Member
Re: How to download using winsock
Visual Studio 2008 (.NET 3.5) has comprehensive support for the HTTP protocol.
You can use the HttpWebRequest and HttpWebRequest objects to retrieve a file from a web server without using sockets at all.
VB 2008 express edition is a free download: http://www.microsoft.com/express/vb/Default.aspx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|