# Reloading/restarting XHRUpload plugin?

**URL:** <https://community.transloadit.com/t/reloading-restarting-xhrupload-plugin/14959>\
**Category:** Uppy\
**Created:** [June 18, 2019, 8:14am UTC](https://community.transloadit.com/t/reloading-restarting-xhrupload-plugin/14959 "2019-06-18T08:14:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AskoK](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@AskoK](https://community.transloadit.com/u/AskoK)\
**Post date:** [June 18, 2019, 8:14am UTC](https://community.transloadit.com/t/reloading-restarting-xhrupload-plugin/14959/1 "2019-06-18T08:14:27Z")

</div>

Is there any solution for a problem that when you open file selector and upload or close it, you can’t upload any other files because it says it already found plugin and it’s limited to run only one at same time.

---

<div class="post-metadata">

**Author:** ![goto-bus-stop](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/goto-bus-stop/32/18_2.png) [@goto-bus-stop](https://community.transloadit.com/u/goto-bus-stop)\
**Post date:** [June 19, 2019, 11:56am UTC](https://community.transloadit.com/t/reloading-restarting-xhrupload-plugin/14959/2 "2019-06-19T11:56:34Z")

</div>

You can move the `uppy.use(XHRUpload)` call outside your `.click()` handler. The `.use()` call doesn’t start an upload, it just tells Uppy _how_ to upload. Usually that stays the same.

If you need to change the options you passed to XHRUpload, first do `uppy.removePlugin('XHRUpload')`.
