# ActiveResource and file uploads

**URL:** <https://www.ruby-forum.com/t/activeresource-and-file-uploads/158028>\
**Category:** Rails\
**Created:** [January 18, 2009, 4:35am UTC](https://www.ruby-forum.com/t/activeresource-and-file-uploads/158028 "2009-01-18T04:35:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![liquideclm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/a183cd/32.png) [@liquideclm](https://www.ruby-forum.com/u/liquideclm)\
**Post date:** [January 18, 2009, 4:35am UTC](https://www.ruby-forum.com/t/activeresource-and-file-uploads/158028/1 "2009-01-18T04:35:18Z")

</div>

I am trying to figure out how I could ActiveResource with one of my  
web services. I have a desktop application which basically sends and  
receives data to and from the server via AMF. (It is an Adobe AIR  
application for multiple platforms.)

I’m using RubyAMF as the remoting gateway and Rails v 2.2.2 as the  
base of my web application.

I’ve managed to get file uploads work with ActionPack and save the  
entries into an ActiveRecord model, but I also need to get file  
uploads work.  
After some research I couldn’t find relevant tutorial and/or post on  
the net. Also, Also, I’ve read somewhere that ActiveResource does not  
support multipart type data… That’s not too promising either.

Anyone has experience with this approach?  
Thanks in advance.

Attila

> **[Attila Györffy](https://www.attilagyorffy.com/)**
>
> The personal site of Attila Györffy.

[http://www.eclips3media.com](http://www.eclips3media.com)
