# Download files/web pages using RoR

**URL:** <https://www.ruby-forum.com/t/download-files-web-pages-using-ror/62536>\
**Category:** Rails\
**Created:** [June 5, 2006, 11:33pm UTC](https://www.ruby-forum.com/t/download-files-web-pages-using-ror/62536 "2006-06-05T23:33:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bill](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ac91a4/32.png) [@bill](https://www.ruby-forum.com/u/bill)\
**Post date:** [June 5, 2006, 11:33pm UTC](https://www.ruby-forum.com/t/download-files-web-pages-using-ror/62536/1 "2006-06-05T23:33:07Z")

</div>

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.
