# Using "Uppy" from Javascript to write files to the server

**URL:** <https://community.transloadit.com/t/using-uppy-from-javascript-to-write-files-to-the-server/15303>\
**Category:** Uppy\
**Created:** [June 1, 2020, 2:40pm UTC](https://community.transloadit.com/t/using-uppy-from-javascript-to-write-files-to-the-server/15303 "2020-06-01T14:40:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark\_ellul](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/mark_ellul/32/234_2.png) [@mark\_ellul](https://community.transloadit.com/u/mark_ellul)\
**Post date:** [June 1, 2020, 2:40pm UTC](https://community.transloadit.com/t/using-uppy-from-javascript-to-write-files-to-the-server/15303/1 "2020-06-01T14:40:41Z")

</div>

HI,

We are using Uppy to upload files on our site and I was wondering if its possible, via Javascript to upload files via Uppy.

There are many reasons why we want to do this.

The most important reason is that we want to save a draft of the filled in form, so that the next time that form is loaded the user’s form content is refilled from the draft content from the file.

Another reason is to take a screenshot of the page and upload that as an image.

Is there a Javascript api that we can use to do this?

Regards  
Mark

---

<div class="post-metadata">

**Author:** ![mark\_ellul](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/mark_ellul/32/234_2.png) [@mark\_ellul](https://community.transloadit.com/u/mark_ellul)\
**Post date:** [June 15, 2020, 3:07pm UTC](https://community.transloadit.com/t/using-uppy-from-javascript-to-write-files-to-the-server/15303/2 "2020-06-15T15:07:49Z")

</div>

Has anyone done anything similar?
