# Files suddenly keep getting deleted

**URL:** https://forum.infinityfree.com/t/files-suddenly-keep-getting-deleted/121152
**Category:** Hosting Support
**Created:** [October 8, 2026, 8:40am UTC](https://forum.infinityfree.com/t/files-suddenly-keep-getting-deleted/121152 "2026-10-08T08:40:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![destiny\_trade](https://forum.infinityfree.com/letter_avatar/destiny_trade/32/5_5575768a8748004e209b776fc1b2916d.png) [@destiny\_trade](https://forum.infinityfree.com/u/destiny_trade)
#### Post date: [October 8, 2026, 8:40am UTC](https://forum.infinityfree.com/t/files-suddenly-keep-getting-deleted/121152/1 "2026-10-08T08:40:23Z")

</div>

### Website URL

[http://www.destinygmbh.great-site.net](http://www.destinygmbh.great-site.net)

### Error Message

files getting deleted  
[destinygmbh.great-site.net](http://destinygmbh.great-site.net)

### Other Information

Since a few days our files (uploaded to a subfolder of the htdocs folder) keep getting deleted.  
These are csv files and only a few kb big.  
Why is this happening suddenly?

Greetings Steve

---

<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: [October 8, 2026, 8:40am UTC](https://forum.infinityfree.com/t/files-suddenly-keep-getting-deleted/121152/2 "2026-10-08T08:40:23Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![InfinityFreeBot](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/infinityfreebot/32/3715_2.png) [@InfinityFreeBot](https://forum.infinityfree.com/u/InfinityFreeBot)
#### Post date: [October 8, 2026, 8:40am UTC](https://forum.infinityfree.com/t/files-suddenly-keep-getting-deleted/121152/3 "2026-10-08T08:40:34Z")

</div>

_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._

Your files are small CSVs in a subfolder of `htdocs`, so the usual size and location causes don’t obviously apply. Can you tell me the full path the files end up in, for example `htdocs/data/file.csv`, and how they get there (FTP, the online file manager, or a script on your site)? With that I can tell whether the folder is the problem or something else is.

I found an article on why files get deleted after upload. It lists the causes the servers delete files for automatically:

> [@Why are my files deleted after uploading them](https://forum.infinityfree.com/docs?topic=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…

- The file isn’t inside an `htdocs` folder.
- The file type is blocked.
- The file is flagged by the automatic malware scan.
- The file is over the size limit.

Your file type and size look fine, so it would be worth checking the first and third points. If the files sit outside `htdocs`, or if they’re deleted right after a script writes them, the path and upload method should show which it is.

---

<div class="post-metadata">

### Author: ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/53336_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)
#### Post date: [October 8, 2026, 9:47am UTC](https://forum.infinityfree.com/t/files-suddenly-keep-getting-deleted/121152/4 "2026-10-08T09:47:41Z")

</div>

Welcome to the forum. Have you read this goodness to see if it applies

> [@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…

It’s important to remember that you can’t use your infinity free account for serving data or files, only websites.

It may be that CSV files have been restricted as they imply an API. (I’m not sure on this point because I’ve not tried, this is just me thinking through the problem out loud)

Depending what you’re trying to do you might be better tweaking your code to use a database and using the built-in database system.

Another thing to note, having looked at your site it looks like you’ve built it using the site pro builder. When you fire that up it overrides any pre-existing index file or other files that clash with the website you’re building so that could be part of the problem as well.
