From: Yochen Gutmann Date: 2006-05-30T08:26:04+09:00 Subject: Re: Saving a PDF locally 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/.