Daniel Harple wrote:
> Try:
> 
> open("http://www.somewebpage.com/atestfile.pdf", 'rb'){|u|
>     File.open("test.pdf", "wb") do |f|
>       f.write(u.read)
>     end
> }
Thanx, Daniel, your solution is working as well! And it is even shorter!


Slowly I am wondering why I did't come up with a working solution by 
myself ;-]

-- Yochen

-- 
Posted via http://www.ruby-forum.com/.