|
-
Jun 15th, 1999, 07:52 PM
#1
Thread Starter
New Member
does anyone know how to download content from a website or ftp, like the norton autoupdate or sierra utilities update program?
-
Jun 16th, 1999, 02:42 AM
#2
New Member
I do. But the problem I am currently investigating is how to show download progress with the inet control which I don't think is possible, so I'm investigating doing it with winsock and Socketwrench.
-
Jun 23rd, 1999, 06:02 PM
#3
New Member
here's the code to download something with the INET control (inet1)
Inet1.AccessType = icUseDefault
Dim B() As Byte
Dim strURL As String
strURL = "www.vb-world.net/sample.zip"
B() = Inet1.OpenURL(strURL, icByteArray)
Open "C:\sample.zip" For Binary Access _
Write As #1
Put #1, , B()
Close #1
this saves the file byte by byte in a 'virtual' file created on ur C:\ drive named sample.zip -> the url to vb-world is incorrect ! remember that, u have to use a valid url offcourse..
I hope this helped you out..
,
Wax
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
|