Why are my files deleted after uploading them?

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.

8 Likes
My files just disappears
Upload error
How can I block access to my website to an entire country
How to enable uploading unsupported formats
Refresh required after website update
Can't upload file from filezilla!
Laravel
Ads.txt Management
Video
I cannot be able to upload 50MB software to server via FileZilla
Index.html file disappears after 1 second
Website doesn't Working Upload
How many GB I have with free domain: ppskola.epizy.com
How many GB I have with free domain: ppskola.epizy.com
How many GB I have with free domain: ppskola.epizy.com
My website is not working
Uploading files is broken
FTP uploaded files disappear
Where is list of forbidden file types?
Where is list of forbidden file types?
Show hidden files in free Flie Manager
Files Disappeared (After hitting save in FTP)
.WASM File not uploading
Uploading issue
Uploading my Laravel project on Infinityfree
HTML code chanes after upload
Ftp file size limit issue
Error
404 Not Found
403 Error
Ftp file size limit issue
Importing Demo Content is in Progress
Files disappear
Questions re: free hosting plan - before making the switch
Modifying settings.php
Error in my file memory
Unable to upload some specific files
Why cant i fully edit an file via FTP?
Blacklisted by Meta and disappearing .htaccess
How to create & edit my custom .htaccess file
How to create & edit my custom .htaccess file
Specific files getting removed
Why uploaded index file disappaear
Why uploaded index file disappaear
Wordpress
Some pictures loading others not
Upload failed!
Delete files
FTP file transfer list incomplete on remote server, doesn't update new transfers
PHP: post_max_size - Unable to edit website
My .geojson file is getting deleted
When i am uploading zip file via ftp or browser it uploaded but not visible in file manager
Uploaded ZIP files via FTP are instantly deleted, and files over 20 MB fail to upload
Uploaded ZIP files via FTP are instantly deleted, and files over 20 MB fail to upload
It looks like my .htaccess file has disappeared
.htaccess file is deleting
When I upload via FTP, only the folders and no contents upload
Issue with uploading files through FTP
File upload not working
In the file manager the code not saving
Why file_get_contents is not woking on same domain, but https/facebook.com is success
Upload a website - Impossible
Upload a website - Impossible
Error al subir archivo
Where is the FTP server name in my inifinityfree?
I am not able to upload my Wordpress Website files
Wasm file immidiately deleted after uploaded
Where is the FTP server name in my inifinityfree?
Config.php file disappears when I upload
Placing .env files ouside the htdocs folder
Cannot upload my files using your upload interface
I can't upload file in file manager
Upload a website - Impossible
Why I Can't Upload app.all.js?
Files uploaded onto FTP sever gets deleted immediately
Loading module was blocked because of a disallowed MIME type (“text/html")
First time domain/website creation
Assistance Needed with PDF Upload Issue on Remote Server
Php files not uploading
Problem Create New File
Problem Create New File
File limit
I there any option to upload zip file and extract them there?
FTP reports files uploaded but do not appear
Blank page display
Missing png's
Accés aux executables refusé
Unable to add the last 6 files for my website
My PHP files are getting auto deleted
I cannot create a file with the name Ruleset.php and Emoji.php
TotalVirus: infected plugin?
My Files are Being Deleted for a simple landing page
Site not working
Why can't I host my site
How to enable uploading unsupported formats
Index.html auto delete
Uploading a PHP file
File size and upload limits
FTP connects but can't save changes
I cannot send a 22 MB pdf
.gif not showing
Fail to upload mp4 file into htdoc
The .htaccess file has been deleted and a 404 error message appears
Can't upload zip file
File size > 1MB
Console warning after installing SSL
How to enable uploading unsupported formats
Upload plugin error
When I upload something to ftp it just gets deleted instantly
How to upload backup.tar file to Wordpress?
Can't upload html file
.htaccess problem
HTML files disappear from filezilla upload
Can't upload files via FTP
I can't upload .wasm file
403 forbidden
FTP Problem
FTP Problem
All files deleted for no reason?
Adding wasm MIME type
Images uploded but not loading in my page
.htaccess file problem
Images uploded but not loading in my page
Uploading files to filemanager
FTP upload of large file failed
Monsta html not working
My .data files keeps getting deleted when I upload it
How to Upload Big Files
Website stuck on loading
Can't upload video to file manager
Page cant find problem
How can I restart my site?
Invisible content
Cant upload index.php file to ftp server
Your FTP account quota has been exceeded
Can't upload files bigger than 2MB
Htaccess file gone
Font Size
No gifs on free site?
File manage php file auto delete
Uploaded ZIP file from FileZila cannot be seen in the server
Can't upload file zip file
My file is deleted, can we recover the last edited file?
Cannot upload Wordpress zip file or directory
Okay, what am I suposed to do now?
Site not showing video background. works fine offline
Website leading to file directory
Where exactly the root folder
File Disapeared
XenForo emoji.php problem
.htaccess file problem
.htaccess file problem
Rar, zip error
Exceed upload limit and install wordpress manually
My File Is Deleting After Upload
Uploading html files
Filezilla problems
Filezilla problems
Help I can't load the php files!
Mp4 upload to ftp
Some error on subdomain
Site navalforces.org
Unable to load a static website
How do i upload the files for the website?
How can I copy a file from the filemanager as link?
Download of file consistently stops at 9MB
When I go to the link of my site I see the directory list and the css is not displayed
Cant upload wordpress.zip
Issue regarding uploading file (.zip and .rar)
25mb limit
Dompdf
Limited size for HTML files?
Generate pdfs
Uploading Ruleset.php
Back Up Wordpress Site
Hosting provider has removed my wp-setting.php
Files randomly deleted off my server!?
Is there any way to upload an mp4
Javascript MIME Type Error
My .htaccess file keeps being removed!
Cant download tar.gz file through ft
Cant download tar.gz file through ft
Your FTP account quota has been exceeded
Issue with .htaccess File Disappearing Automatically
Importing website to Infinityfree
Importing website to Infinityfree
.htaccess deleted itself!
Missing files in file manager
Uploading zip doesnt work? (Monsta & FTP)
Uploading zip doesnt work? (Monsta & FTP)
Server error
Cross-Origin Request : MQTT external access
Could not connect to the database
Could not connect to the database
.flac files removed upon upload (size is ~8KB)
Disk Space Not enough
FTP Upload Error – "Quota Exceeded or Blocked by Security"
Autoload_static.php
File upload error
File upload
How can I change the max file size upload limit?
Files not accepting after the upload is done. Filezilla, or FileAI
Upload error You exceeded website size limit (100 MB)
FileManager issue
"Disk quota exceeded"
Getting 403 even after uploading my project files in htdocs
Uploading
Media wiki manual install common passwords error
Error on site because Infinity keeps deleting index file
Can't upload zip files for extraction
404 Error
Unable to upload zip file using FileZilla and extract the zip file in server
File Manager Error
My external domain doesn't work when i add wordpress files
What is the maximum file size for uploading on free hosting?
I can’t upload files
Why i Cant Upload file wasm?
Why i Cant Upload file wasm?
Pls help can' t upload php files
I cant use filezilla now
Introducing Our New Web-Based File Manager
Como hago para montar un archivo php
New interface of File Manager failed to upload index.html
System Isses
Unable to edit or upload files in subdomain directory
File manger & php
Unable to load files via File Manager or FTP (WinSCP)
Http error 500
Web Games On Site
Uploading problem
Why does my htaccess file keep getting removed
Facing error 404 page from infintyfree
Follow up - Daily hit reduction
Files not transferring into htdocs folder
Error using "Royal Elementor Addons" plugin on WordPress - Freemi Issue
PHPMyAdmin Upload Error
Help me about the filezilla ftp client transfer picture
File upload hangs
Files auto-deleded after upload
Cant upload files I can't upload files through a file manager or ftp client that are larger than 10
All.min.js
I Want to host my larvel
Error has been fixed
Error when upload woff2 file
Files uploaded onto FTP sever gets deleted immediately
My inedx file keep getting deleted
Question about webhost/ftp
Problem with hosting my new test website
Do not upload files here
Failed to upload / 413
Wordpress restore backup problem
Ftp
Cannot upload 40mb index file
Error 413 Request Entity Too Large
One of my files is regularly deleted
Can't access softacolous, and change/upload php file will be empty when saved
Zip file upload issue
Some images not loading on my page
I'm trying to export my website but I can't
Download suddenly stopped
Inodes limitation?
Files (Emoji.php / WebAuthn.php) disappear immediately after upload
Files (Emoji.php / WebAuthn.php) disappear immediately after upload
FTP cant move my file
Why the image won't show up?
403 error and index.php file becomes empty after upload
Trying to upload GameWebGL.wasm
Error uploading files
Help with uploading html file
Help with uploading html file
Possible virus fall positive?
Unable tu upload the index file
I cannot upload files
Can I change max upload file size
Migrating from FreeHostia is it worth it?
kayboostsmm.site returns 404; FTP uploads do not persist
Zip file is being removed from my page, shortly after I upload it
Uploaded files are gone?! [SOLVED: 1MB Limit on html files]
Impossible to upload properly
Impossible to upload properly
Files not uploading and disappearing
After deploying my index.html on first access files get deleted
FTP server issues
FTP server issues
Files suddenly keep getting deleted
FTP Manager application
Files suddenly keep getting deleted
Uploaded files disappear after refreshing FTP directory
Title: MP4 video files returning 403 Forbidden
Uploaded files disappear from /htdocs within minutes
Fichiers MyrWeb
Does infinityfree support .env outside htdoc folder
Google flags my CBT website as deceptive — please help investigate
Why I can’t upload the .dat file
403 Forbidden and index.html file disappears after upload
Why I can’t upload the .dat file
Ftp
When uploading zip, getting error of FTP Quota has exceeded
Ftp
Ftp
Files auto-deleded after upload
Error when creating .htaccess and robots.txt in root directory
My htaccess disappeared
Uploading problem
Filezilla ftp file transfer after removal
File automatically deleting issue
Ftp upload problem
Why are my HTML files deleted after uploading them

Because of the fact that PDFs are blanket-banned, wouldn’t you want to state that in this documentation?

I thought that it was defined, but when I looked, it wasn’t there. Considering this comment on the topic:

It should be defined so that when someone is wondering why their PDF isn’t uploading, we can mention one topic instead of two.

Could be re-worded to:

Certain file types, including but not limited to .exe .apk, and .pdf files, are blocked on InfinityFree for security and fair usage limitations. Regular website files are allowed, but other files may be blocked.

  1. That’s a 2021 topic. Things can change.
  2. This article actually used to include PDF in it, but was changed to APK sometime ago. Because things did change — the restriction was lifted and it’s now possible to upload PDFs.

Of course, things might change again, and I’m not arguing with you — I’m just sharing what I know about this and why there’s no PDF in this article any more.

7 Likes

Are you sure? When I uploaded a 10KB PDF to the server, the file was immediately removed.

I’ve got two 104K pdf’s here, one is .pdf and the other is .zoltar (custom mime)
https://zoltar.eu.org/test/

the .zoltar was uploaded april last year and is still there
I just now uploaded the .pdf to test it still works

5 Likes

i think apk files are unblocked, tried to upload apk and exe file, able to upload both file but i can only download apk file

1 Like

I don’t think that’s intentional

2 Likes

A post was split to a new topic: FTP Issues