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.
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.
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:
That guide uses FileZilla 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:
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.
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.