Hi All,
Given a url such as "http://www.example.com/image.jpg"
I want to download that image to a directory on the local site.
Thanks for any help
Gary
Printable View
Hi All,
Given a url such as "http://www.example.com/image.jpg"
I want to download that image to a directory on the local site.
Thanks for any help
Gary
Bump
Haven't got VS.Net installed at home yet, so afraid I can't give you an example, but have a look at System.Net.WebClient :)
thanks! from what I can gather, its something like this:
VB Code:
Dim wc As New Net.WebClient() Dim img As System.Drawing.Image = Image.FromStream(wc.OpenRead("http://www.example.com/image.jpg")) img.Save("<FileName>")
cheers
GaZ :bigyello: