Why did you delete my files after I uploaded them?
Here at TinkerHost, we care about everyone's safety and security. As a free hosting provider, we also have a limited amount of resources that we can give away to you. Because of this, our system needs to be able to scan files that you upload. Unfortunately, this means that the following types of files cannot be uploaded here:
Compressed files (Such as .zip, .rar, and .gz) - You should extract these files to your computer, then upload the resulting files. If you need the zip file intact, use a file hosting service such as Google Drive, and paste the sharing link on your website
Executable files (Such as .exe, .msi) - You should host these files with an external service such as Google Drive, and paste the sharing link on your website
Portable Documents (Such as .pdf) - You should host these files with an external service such as Google Drive, and paste the sharing link on your website
Additionally, we restrict the size of each file that you upload. Note that 99% of users never hit this limit, and if you do, it often only takes a few minutes to reduce the size, or split up your large file.
- HTML and PHP files are limited to 1MB each
- .htaccess files are limited to 10kB each
- All other files not listed above are limited to 10MB each
But my file type and size are allowed, why was my file removed?
There are a few reasons why your file may have been removed, even if it is allowed within the above rules. The following are a few examples of files that may be removed after uploading:
- The file contains malware
- The file was uploaded outside of a htdocs folder
- The filetype is blocked, but this article has not been updated
My file is larger than the allowed limit. How can I make it smaller?
For HTML and PHP files
- Consider moving CSS and JavaScript to an external file
- Define variables for repeated text
- Move information to a database
- Split your PHP file and use functions such as
include or require
For .htaccess files
- If you are blocking IP addresses, consider blocking by range instead of individual address (Also note that it only takes a few seconds to change an IP address, so blocking users by IP does not work very well. You can remove these rules if you need to make your file smaller)
- If you are blocking malicious bots, you can remove those rules, we already do that for you
- If you are using hundreds of RewriteRules, consider directing traffic to a PHP file and routing from there instead
- If some rules only apply to a subdirectory, consider creating a new .htaccess file in the subdirectory and migrating the relevant rules