# Unable tu upload the index file

**URL:** <https://forum.infinityfree.com/t/unable-tu-upload-the-index-file/119166>\
**Category:** Hosting Support\
**Created:** [June 6, 2026, 12:04pm UTC](https://forum.infinityfree.com/t/unable-tu-upload-the-index-file/119166 "2026-06-06T12:04:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [June 6, 2026, 12:09pm UTC](https://forum.infinityfree.com/t/unable-tu-upload-the-index-file/119166/2 "2026-06-06T12:09:53Z")

</div>

Html and php files are limited to 1mb. That one is 3 mb.

This link will provide more details

> [@Why are my files deleted after uploading them](https://forum.infinityfree.com/t/why-are-my-files-deleted-after-uploading-them/49310):
>
> Sometimes, when you upload a file, the upload is completed but the file is deleted immediately afterwards. This is usually caused by one of the following issues: The file is not in a htdocs folder All websites files must be uploaded to either the main htdocs folder, or to the domain specific htdocs folder (like example.com/htdocs). You cannot upload files to other directories on your account. If you try to create or upload files anywhere else, they will be deleted automatically. The file type…

---

_[View the full topic](https://forum.infinityfree.com/t/unable-tu-upload-the-index-file/119166)._
