From: rduby1@... Date: 2008-03-26T00:04:56+09:00 Subject: Re: Remote files? On 25 Mar., 13:53, Thomas Wieczorek wrote: > On Tue, Mar 25, 2008 at 11:30 AM,   wrote: > > >  The first file is a plain-text file and the other is a binary file > >  (photo). > > Take a look athttp://www.rubynoob.com/articles/2006/8/21/how-to-download-files-with... > Notice "wb" in _open("fun.jpg", "wb")_, it is important, when you > download images on windows platforms otherwise it will open them in > ASCII mode. Hi, thanks a lot for the answers. It works :-)