Hi, I’m building a website using HTML. I try to upload or create a file and add the code, but whenever I refresh the file manager, the file disappears. The file contains 1,785 lines; I’m wondering if there might be some kind of limit or restriction in place.
Welcome to the InfinityFree community forum! Good to have you here.
Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
Solving an issue is a joint effort. Try the suggestions you get and report back what happened.
Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.
Yes, there is a limit, but 1,785 lines of HTML is probably under it. HTML, PHP and JS files can be up to 1 MB, and files over the limit are deleted automatically. Files saved outside an htdocs folder are also deleted automatically. Both are listed in this article on why files vanish after upload:
Two questions would narrow it down. Which folder is the file in? It needs to be in htdocs or in the htdocs folder of a specific domain, such as example.com/htdocs. And roughly how big is the file in KB or MB?