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 fair usage reasons. Regular website files are allowed.
If you want to offer files for download or show videos on your website, please use a specialized file sharing or video service instead.
The file contains malware
Uploaded files are automatically scanned for malware. Files containing malware are deleted to protect your website and your visitors.
The file is too large
Files that exceed the file size limit are deleted automatically. The limit depends on the file type:
- HTML, PHP and JS files: 1 MB
- .htaccess files: 10 kB
- All other files: 10 MB
See File size and upload limits for more information and tips for making your files smaller.


