# Filestash rejects PHP and .htaccess uploads with Cloudflare 403

**URL:** <https://forum.infinityfree.com/t/filestash-rejects-php-and-htaccess-uploads-with-cloudflare-403/122065>\
**Category:** Hosting Support\
**Created:** [November 21, 2026, 5:27pm UTC](https://forum.infinityfree.com/t/filestash-rejects-php-and-htaccess-uploads-with-cloudflare-403/122065 "2026-11-21T17:27:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![micplstore\_support](https://forum.infinityfree.com/letter_avatar/micplstore_support/32/6_449c533f586939b6e5f246632a46421f.png) [@micplstore\_support](https://forum.infinityfree.com/u/micplstore_support)\
**Post date:** [November 21, 2026, 5:27pm UTC](https://forum.infinityfree.com/t/filestash-rejects-php-and-htaccess-uploads-with-cloudflare-403/122065/1 "2026-11-21T17:27:00Z")

</div>

### Website URL

[https://micplstore.great-site.net/](https://micplstore.great-site.net/)

### Error Message

Filestash upload queue: “Error” for the affected files. On saving a PHP file in the editor: “AjaxError code: FORBIDDEN message: Attention Required! | Cloudflare” and “Sorry, you have been blocked.”

### Other Information

I am deploying a small PHP/MySQL website on free hosting. Filestash saved index.html and the JavaScript/CSS files under /htdocs, but the .htaccess file and several required PHP files did not appear after upload. I retried individual files with the same result. A PHP file could be created empty, but saving its contents in the editor was blocked. The affected files are under the documented size limits. The website front end loads, but its login routes cannot run until the server files are in place. Is there a known issue with Filestash writes or a supported browser-based upload method for these files? I am working from a phone and would appreciate guidance on the supported options.

---

<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:** [November 21, 2026, 5:27pm UTC](https://forum.infinityfree.com/t/filestash-rejects-php-and-htaccess-uploads-with-cloudflare-403/122065/2 "2026-11-21T17:27:00Z")

</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:** ![Lemni](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lemni/32/68303_2.png) [@Lemni](https://forum.infinityfree.com/u/Lemni)\
**Post date:** [November 21, 2026, 5:27pm UTC](https://forum.infinityfree.com/t/filestash-rejects-php-and-htaccess-uploads-with-cloudflare-403/122065/3 "2026-11-21T17:27:21Z")

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

I couldn’t find anything on the forum or in the knowledge base about Filestash, so I can’t say whether this is a known issue. The “Sorry, you have been blocked” page is a Cloudflare block page, which suggests the request was refused before it reached your files. I can’t tell from your post what triggered it.

The method our knowledge base documents is FTP, which it calls the best and most reliable way to upload files. It uses your FTP details from the client area and uploads into `htdocs`:

> [@How to upload files with FTP](https://forum.infinityfree.com/docs?topic=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…

That guide uses [FileZilla](https://filezilla-project.org/download.php?type=client) on a computer. I didn’t find a guide for uploading from a phone, but any FTP client that can connect to the hostname in your FTP details should work the same way.

You said your files are under the size limits. Just to check, the limits are 1 MB for PHP and JS files and 10 kB for `.htaccess`. Files over the limit are deleted automatically after upload:

> [@Why are my files deleted after uploading them?](https://forum.infinityfree.com/docs?topic=49310):
>
> Sometimes, a file upload seems to complete normally, but the file is deleted right after. This is usually caused by one of the issues below. The file is not in an htdocs folder All website files must be uploaded to the main htdocs folder, or to the htdocs folder of a specific domain (like example.com/htdocs). Files created or uploaded anywhere else on your account are deleted automatically. The file type is not allowed Certain file types, like .exe and .apk files, are blocked for security and…

Could you check whether the Cloudflare block page shows a Ray ID or an error code, and post it here? Could you also say whether Filestash connects to your account over FTP, or whether you’re using it in some other way? That would show whether the block comes from Filestash’s own setup or from something else.

---

<div class="post-metadata">

**Author:** ![micplstore\_support](https://forum.infinityfree.com/letter_avatar/micplstore_support/32/6_449c533f586939b6e5f246632a46421f.png) [@micplstore\_support](https://forum.infinityfree.com/u/micplstore_support)\
**Post date:** [November 21, 2026, 5:37pm UTC](https://forum.infinityfree.com/t/filestash-rejects-php-and-htaccess-uploads-with-cloudflare-403/122065/4 "2026-11-21T17:37:06Z")

</div>

Thanks. The Cloudflare block page showed Ray ID `a5e1543e2baa7a35` and the Filestash editor reported `AjaxError code: FORBIDDEN`. This happened when I clicked Save after editing a PHP file in `/htdocs`. I used the browser-based InfinityFree Filestash at `filestash.infinityfree.com`, selected its FTP connection, and signed in with the hosting account credentials. No separate desktop FTP client was used for this attempt.

---

<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:** [November 21, 2026, 10:31pm UTC](https://forum.infinityfree.com/t/filestash-rejects-php-and-htaccess-uploads-with-cloudflare-403/122065/5 "2026-11-21T22:31:31Z")

</div>

Our Filestash installation is unsupported. Please try using the file manager in our panel instead.

If there is a particular reason you’re not using the official file manager, then please share. If there are issues, we’ll fix them.
