# Let the user upload a file to the plugin

**URL:** <https://forums.creativeclouddeveloper.com/t/let-the-user-upload-a-file-to-the-plugin/4081>\
**Category:** Adobe XD\
**Created:** [December 28, 2021, 8:08am UTC](https://forums.creativeclouddeveloper.com/t/let-the-user-upload-a-file-to-the-plugin/4081 "2021-12-28T08:08:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adinu](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@adinu](https://forums.creativeclouddeveloper.com/u/adinu)\
**Post date:** [December 28, 2021, 8:08am UTC](https://forums.creativeclouddeveloper.com/t/let-the-user-upload-a-file-to-the-plugin/4081/1 "2021-12-28T08:08:43Z")

</div>

I want to let the user upload a video file (from his computer) to our server through the plugin.

i thought i can just use the input type file, but it seems like you don’t support it. is there a way to let the user upload file from his computer to xd’s plugin? if not, is it in the roadmap?

---

<div class="post-metadata">

**Author:** ![adinu](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@adinu](https://forums.creativeclouddeveloper.com/u/adinu)\
**Post date:** [December 28, 2021, 10:02am UTC](https://forums.creativeclouddeveloper.com/t/let-the-user-upload-a-file-to-the-plugin/4081/2 "2021-12-28T10:02:49Z")

</div>

i found a way to do it using the

await fs.getFileForOpening();
