# Any maximum file size using event.file.copyTo for file uploads?

**URL:** <https://forum.inductiveautomation.com/t/any-maximum-file-size-using-event-file-copyto-for-file-uploads/53235>\
**Category:** Ignition\
**Created:** [November 18, 2021, 1:33pm UTC](https://forum.inductiveautomation.com/t/any-maximum-file-size-using-event-file-copyto-for-file-uploads/53235 "2021-11-18T13:33:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 18, 2021, 5:17pm UTC](https://forum.inductiveautomation.com/t/any-maximum-file-size-using-event-file-copyto-for-file-uploads/53235/4 "2021-11-18T17:17:25Z")

</div>

Hmm, there might be an implicit maximum file size imposed by Jetty, though I would expect that to trigger something in the logs. Are these file uploads being triggered on a desktop computer, or a mobile device? Any chance you could wireshark the upload request?

There's some configuration you can do to Jetty, though again, I'm not sure this is even the source of the problem:

> [@\[Perspective\] Project Import Failing](https://forum.inductiveautomation.com/t/perspective-project-import-failing/51884/4):
>
> I think the default max upload size is ~21mb… You’ll have to modify the web.xml file and restart the gateway to increase it. In $IGNITION/webserver/webapps/main/WEB-INF/web.xml there’s a section like this: \<servlet\> \<servlet-name\>DataRoutes\</servlet-name\> \<servlet-class\>com.inductiveautomation.ignition.gateway.dataroutes.DataServlet\</servlet-class\> \<load-on-startup\>1\</load-on-startup\> \<multipart-config\> \<max-file-size\>20848820\</max-file-size\> \<max-request-size\>418…

---

_[View the full topic](https://forum.inductiveautomation.com/t/any-maximum-file-size-using-event-file-copyto-for-file-uploads/53235)._
