Thanks.

This is working like a charm!


> From: Jim Weirich <jim-keyword-rforum.c88827 / weirichhouse.org>
> Reply-To: <ruby-talk / ruby-lang.org>
> Newsgroups: comp.lang.ruby
> Date: Wed, 30 Nov 2005 07:50:24 +0900
> To: ruby-talk ML <ruby-talk / ruby-lang.org>
> Subject: Re: Grab Image From Web Server
> 
> jimweirich wrote:
> 
>> requre 'open-uri'
>> open("output_filename.jpg", "w") { |outfile|
>>   outfile.write open("http://image_url.jpg") { |inf|
>>     ifile.read
>>   }
>> }
> Oops ... naming problem with inf and ifile ... both should be infile.
> 
> Sorry
> -- Jim Weirich
> 
> 
> -- 
> Posted via http://www.ruby-forum.com/.
>