[thelist] Visual Basic / Cold Fusion - download image help

Josh josh at eaccessit.com
Wed Jul 3 22:35:01 CDT 2002

That worked! Thanks a lot.

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org] On Behalf Of Nicole P
Sent: Wednesday, July 03, 2002 10:14 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] Visual Basic / Cold Fusion - download image help

Found on microsoft.com, not personally tested:
Private Sub GetFile(s As String, d As String)
Debug.Print s, d
Dim x() As Byte
Inet1.URL = s
Inet1.UserName = Text2.Text
Inet1.Password = Text3.Text
x = Inet1.OpenURL(, icByteArray)
Open d For Binary Access Write As #1
Put #1, , x()
Close #1
End Sub

You may have noticed something interesting here. Nowhere did I mention
code that was specific for the HTTP or FTP protocol. I used the Internet
Transfer control's ability to load information from either type of
and left the ultimate decision on what protocol to use up to the


----- Original Message -----
From: "Josh" <josh at eaccessit.com>
To: <thelist at lists.evolt.org>
Sent: Wednesday, July 03, 2002 11:01 PM
Subject: RE: [thelist] Visual Basic / Cold Fusion - download image help

> Thanks for the suggestion but I don't have ftp access to the images.
> Only http.  How would you write a program to download
> http://www.google.com/images/res0.gif to the hard drive?

For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

"eAccessit.com" One Stop Solutions for your IT problems

More information about the thelist mailing list