# File uploading error

**URL:** <https://forum.infinityfree.com/t/file-uploading-error/81403>\
**Category:** Hosting Support\
**Created:** [August 21, 2023, 1:36am UTC](https://forum.infinityfree.com/t/file-uploading-error/81403 "2023-08-21T01:36:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)\
**Post date:** [August 21, 2023, 1:50am UTC](https://forum.infinityfree.com/t/file-uploading-error/81403/2 "2023-08-21T01:50:15Z")

</div>

> [@Nehaal](#):
>
> But when I upload larger files like 40 MB or even 20 MB, it says “There was an error uploading your file”.

This is intended behaviour:

> [@What is the file/upload size limit](https://forum.infinityfree.com/t/what-is-the-file-upload-size-limit/49308):
>
> On all InfinityFree servers is a file size limit of 10 MB. It’s important to note that this is a file size limit and not an upload limit. The difference is subtle, but important. An upload limit could be set through PHP settings, but this limit is enforced on the file system level. No PHP configuration can override this limit and it applies to files uploaded through FTP or the file manager as well. Can the limit be increased? No. The size limit is fixed and cannot be increased in any way. 10 M…

> [@Nehaal](#):
>
> a site where users signup and can upload files

Please note that InfinityFree is a web hosting service, not a file hosting one.  
In addition to the file size limit which will make running such a service hard, hosting it also violates the [Terms of Service](https://www.infinityfree.com/terms/), section 5 (emphasis my own), and will get your website suspended:

> You agree to not use the Services to:  
> upload, post, email, transmit or otherwise make available any material that is of keylogging / proxy service / irc / shell(s) if any type / **file hosting / file sharing types**.

---

_[View the full topic](https://forum.infinityfree.com/t/file-uploading-error/81403)._
