# Remote file upload

**URL:** <https://www.ruby-forum.com/t/remote-file-upload/126089>\
**Category:** Rails\
**Created:** [January 15, 2008, 11:24am UTC](https://www.ruby-forum.com/t/remote-file-upload/126089 "2008-01-15T11:24:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eivind\_LSSSSland-An](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@Eivind\_LSSSSland-An](https://www.ruby-forum.com/u/Eivind_LSSSSland-An)\
**Post date:** [January 15, 2008, 11:24am UTC](https://www.ruby-forum.com/t/remote-file-upload/126089/1 "2008-01-15T11:24:50Z")

</div>

Hi,

I have made simple file/document managent system with Ruby on Rails  
(2.0), and would like to simplify how the users upload files to the  
applicatation. I’m thinking of writing plugins to other applications,  
ie. a “Upload to DMS”-button i Word.

Now I wonder how to accomplish something like this. Would it be  
possible to make a WebService in my DMS, and then upload files through  
it?

I’m grateful for any help!

Eivind

---

<div class="post-metadata">

**Author:** ![Eivind\_LSSSSland-An](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@Eivind\_LSSSSland-An](https://www.ruby-forum.com/u/Eivind_LSSSSland-An)\
**Post date:** [January 15, 2008, 11:34am UTC](https://www.ruby-forum.com/t/remote-file-upload/126089/2 "2008-01-15T11:34:50Z")

</div>

On 15 Jan 2008, at 11:23, Eivind LÃ¸land-Andersen wrote:

> I have made simple file/document managent system with Ruby on Rails  
> (2.0), and would like to simplify how the users upload files to the  
> applicatation. I’m thinking of writing plugins to other applications,  
> ie. a “Upload to DMS”-button i Word.
> 
> Now I wonder how to accomplish something like this. Would it be  
> possible to make a WebService in my DMS, and then upload files through  
> it?
> 
> I’m grateful for any help!

Sure, provide an API that can be used by your plugin/desktop  
application and POST the file just like u would from a browser (maybe  
return the result as xml).

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![Eivind\_LSSSSland-An](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@Eivind\_LSSSSland-An](https://www.ruby-forum.com/u/Eivind_LSSSSland-An)\
**Post date:** [January 15, 2008, 12:28pm UTC](https://www.ruby-forum.com/t/remote-file-upload/126089/3 "2008-01-15T12:28:25Z")

</div>

> Sure, provide an API that can be used by your plugin/desktop  
> application and POST the file just like u would from a browser (maybe  
> return the result as xml).

Thanks! 🙂
