# Drag n drop desktop file to application as such in google

**URL:** <https://www.ruby-forum.com/t/drag-n-drop-desktop-file-to-application-as-such-in-google/189584>\
**Category:** Rails\
**Created:** [June 3, 2010, 3:32pm UTC](https://www.ruby-forum.com/t/drag-n-drop-desktop-file-to-application-as-such-in-google/189584 "2010-06-03T15:32:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![umamahe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/898d66/32.png) [@umamahe](https://www.ruby-forum.com/u/umamahe)\
**Post date:** [June 3, 2010, 3:32pm UTC](https://www.ruby-forum.com/t/drag-n-drop-desktop-file-to-application-as-such-in-google/189584/1 "2010-06-03T15:32:09Z")

</div>

Is that possible to " Drag n drop file from desktop to  
upload " in Ruby on rails application

```
   for example : google (gmail) drag n drop attachments same as

```

this feature .

```
    Drag and drop functionality working but how to upload the

```

file to the application ? through  
ajax ? or other functionaltiy ?

```
     how to get file object through javascript which attributes

```

suits for that ?

```
     how to implement this ?..........

    Any ideas greatly appreciated .....
```
