From: Gregory Brown Date: 2007-07-03T09:20:03+09:00 Subject: Re: Absolutely lost with URI/Net/HTTP On 7/2/07, Guest wrote: > is it possible to download a file with a PHP hidden URL? > > when the link is clicked on in firefox, it will prompt the user to > either open or save, for example... > > http://www.esnips.com/nsdoc/b2a4a221-2590-486f-a314-469a4721e1ed/?id=1183359840917 > > how can i download this file using ruby? require "open-uri" File.open("my.mp3","wb") do |file| file << open("http://www.es...") end