# Need help to upload file with ruby

**URL:** <https://www.ruby-forum.com/t/need-help-to-upload-file-with-ruby/130697>\
**Category:** Ruby\
**Created:** [March 2, 2008, 2:46am UTC](https://www.ruby-forum.com/t/need-help-to-upload-file-with-ruby/130697 "2008-03-02T02:46:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [March 2, 2008, 2:46am UTC](https://www.ruby-forum.com/t/need-help-to-upload-file-with-ruby/130697/1 "2008-03-02T02:46:09Z")

</div>

Hi all,

I’m trying to post a file by http with ruby but I couldn’t find a way  
to do so, google return rails links only. I found this [1](http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/906e97f393b52670/ef5aaae262520eb4) using http-  
access2 but I failed to make it work too. Anyone has a working snippet  
for me or some link to get where I could do it easily?

thanx in advance

Sean
