From: Doug Bromley Date: 2006-06-18T01:27:30+09:00 Subject: Downloading Image ------=_Part_112075_1987925.1150561646009 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello again As an extension on my previous image problem I can't even successfully download images from a URL location. I though tthe following simple GET request along with writing the result to a file would work but it mangles the image and makes it unreadable. Net::HTTP.start("www.example.com") do |http| resp = http.get("/images/logo.gif") outfile = open("C:/logo.gif", "w") outfile.write(resp.body) outfile.close end Have I done something wrong here? Can anyone see what I'm doing wrong? Sorry for being a pain but I've looked in the mailing list and various source files but none seem to be shedding any light so I'd be very grateful for your input. All the best. Doug ------=_Part_112075_1987925.1150561646009--