Download through redirecting php-page


I’m rather new to Ruby, and I’ve been googling for a couple of hours
without being even close to a solution that works.

I have a bunch of links that links to a “download.php/xxxxx/xxxxxxxxxx/”
address. When clicked in the browser, the files downloads normally, but
when I’m trying to do it through Ruby the only thing I get are errors.

I’ve been trying with the open command, but it didn’t work for some

Any suggestions?

Thanks in advance,


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs