# Why are my HTML files deleted after uploading them

**URL:** <https://forum.infinityfree.com/t/why-are-my-html-files-deleted-after-uploading-them/99992>\
**Category:** Hosting Support\
**Created:** [October 10, 2024, 8:25pm UTC](https://forum.infinityfree.com/t/why-are-my-html-files-deleted-after-uploading-them/99992 "2024-10-10T20:25:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![anon90933456](https://forum.infinityfree.com/letter_avatar/anon90933456/32/6_449c533f586939b6e5f246632a46421f.png) [@anon90933456](https://forum.infinityfree.com/u/anon90933456)\
**Post date:** [October 10, 2024, 8:28pm UTC](https://forum.infinityfree.com/t/why-are-my-html-files-deleted-after-uploading-them/99992/2 "2024-10-10T20:28:26Z")

</div>

Hi and welcome to the forum! Take note of the file size limits, which are these:

> [@Why are my files deleted after uploading them](https://forum.infinityfree.com/t/why-are-my-files-deleted-after-uploading-them/49310/1):
>
> - HTML, PHP and JS files are limited to 1 MB.
> - .htaccess files are limited to 10 kB.
> - All other files are limited to 10 MB.

And also consider splitting your HTML file up whenever it’s possible to do so, saving both parts as a PHP file, and including the second part of it with the PHP `include()` or `require()` functions.

---

_[View the full topic](https://forum.infinityfree.com/t/why-are-my-html-files-deleted-after-uploading-them/99992)._
