Guest7
(Guest)
1
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?
or if that isn't possible, to tell firefox to open that url?
thanks!
···
--
Posted via http://www.ruby-forum.com/.
require "open-uri"
File.open("my.mp3","wb") do |file|
file << open("http://www.es...")
end
···
On 7/2/07, Guest <Guest@bugmenot.com> 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?
whoops, that should be open("http://...").read
···
On 7/2/07, Gregory Brown <gregory.t.brown@gmail.com> wrote:
> how can i download this file using ruby?
require "open-uri"
File.open("my.mp3","wb") do |file|
file << open("http://www.es...")
end