# HTML code chanes after upload

**URL:** <https://forum.infinityfree.com/t/html-code-chanes-after-upload/97867>\
**Category:** Hosting Support\
**Created:** [August 22, 2024, 9:40am UTC](https://forum.infinityfree.com/t/html-code-chanes-after-upload/97867 "2024-08-22T09:40:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![HumanInterfaceDevice](https://forum.infinityfree.com/letter_avatar/humaninterfacedevice/32/6_449c533f586939b6e5f246632a46421f.png) [@HumanInterfaceDevice](https://forum.infinityfree.com/u/HumanInterfaceDevice)\
**Post date:** [August 22, 2024, 9:40am UTC](https://forum.infinityfree.com/t/html-code-chanes-after-upload/97867/1 "2024-08-22T09:40:46Z")

</div>

Hi. After uploading an .html file to filemanager.ai the html code inside it duplicated 3 times in a row(25 lines of code became 73). I am getting 404 error during upload(via web) each time, so my best guess is that is was 3 auto-retries and it merged 3 files somehow.

 ![iShot_2024-08-22_12.33.39](https://forum-cdn.infinityfree.net/original/3X/a/2/a2857d3f9236e12aabcf334618d226880b9d3194.png)  
Any ideas how to fix this and 404 errors?

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [August 22, 2024, 9:51am UTC](https://forum.infinityfree.com/t/html-code-chanes-after-upload/97867/2 "2024-08-22T09:51:58Z")

</div>

This is indeed a rare but known issue of the file manager. We don’t quite know why it happens, but it rarely does.

If the contents of any files are incorrect, the way to fix it is the same way you fix any file with the wrong content: you replace it with the right content.

I’m not quite sure which 404 error you are talking about though. Can you please share a screenshot of that?

---

<div class="post-metadata">

**Author:** ![HumanInterfaceDevice](https://forum.infinityfree.com/letter_avatar/humaninterfacedevice/32/6_449c533f586939b6e5f246632a46421f.png) [@HumanInterfaceDevice](https://forum.infinityfree.com/u/HumanInterfaceDevice)\
**Post date:** [August 22, 2024, 10:09am UTC](https://forum.infinityfree.com/t/html-code-chanes-after-upload/97867/3 "2024-08-22T10:09:28Z")

</div>

![iShot_2024-08-22_13.09.08](https://forum-cdn.infinityfree.net/original/3X/6/9/69028635844ea95844c7ad60d5464a775cbb721b.png)

---

<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:** [August 22, 2024, 10:21am UTC](https://forum.infinityfree.com/t/html-code-chanes-after-upload/97867/4 "2024-08-22T10:21:35Z")

</div>

Try to upload the file you’re trying to upload using an FTP client; here’s a guide to configure FileZilla:

> [@How to upload files with FTP](https://forum.infinityfree.com/t/how-to-upload-files-with-ftp/49306):
>
> The best and most reliable way to upload files is to use FTP. To upload files with FTP, you will need to following: Your FTP username Your FTP password The FTP hostname An FTP client You can find your FTP username, password and hostname in the client area under the FTP Details section. The FTP password is the same as your hosting account and control panel password, which is different from the password for the client area. If you like videos better then text guides, you can find one at the bot…

If it still doesn’t work, take note of the file size limits which are explained there:

> [@Why are my files deleted after uploading them](https://forum.infinityfree.com/t/why-are-my-files-deleted-after-uploading-them/49310/1):
>
> ## The file exceeds the file size limit
> 
> The InfinityFree web servers have size limits for all files. If the file size exceeds the limit, the file is automatically deleted.
> 
> The size limits are:
> 
> - 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.
> 
> Please note that this is a file size limit, not just a PHP upload limit. All files on your account are subject to this limit, regardless of how you’re trying to get this file on your account.

---

<div class="post-metadata">

**Author:** ![HumanInterfaceDevice](https://forum.infinityfree.com/letter_avatar/humaninterfacedevice/32/6_449c533f586939b6e5f246632a46421f.png) [@HumanInterfaceDevice](https://forum.infinityfree.com/u/HumanInterfaceDevice)\
**Post date:** [August 22, 2024, 11:36am UTC](https://forum.infinityfree.com/t/html-code-chanes-after-upload/97867/5 "2024-08-22T11:36:52Z")

</div>

The file is uploaded successfully, but the 404 error is shown. As shown on the screenshot the file is only 8Mb. Maybe it’s reuploading and merging files into one and that is the rare cause of a bug you are looking for.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [August 22, 2024, 1:15pm UTC](https://forum.infinityfree.com/t/html-code-chanes-after-upload/97867/6 "2024-08-22T13:15:42Z")

</div>

> [@HumanInterfaceDevice](#):
>
> Maybe it’s reuploading and merging files into one and that is the rare cause of a bug you are looking for.

I think the file manager does some kind of “chunked uploading”. Maybe that’s the issue, but I’m not sure.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [August 29, 2024, 1:15pm UTC](https://forum.infinityfree.com/t/html-code-chanes-after-upload/97867/7 "2024-08-29T13:15:58Z")

</div>

Closed on August 29, 2024, 1:15pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
