Download through redirecting php-page

Hey,

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
reason.

Any suggestions?

Thanks in advance,

Øyvind