Download files/web pages using RoR


#1

I need to be able to download files from another server using my Rails
app. How can I use Ruby or Rails to connect via http (or https) and put
a file into a variable or in a file on the web server? I also need to
be able to send a file to a site that has https/login access.

Can someone point me in the right direction to move these files around?

Thanks.