I’ve been uploading a HTML file to my htdocs folder for a long time. It’s a single file, I just upload an updated version when there are changes. I tried it today and after the file uploaded, it was automatically deleted.
Hi and welcome to the forum! Take note of the file size limits, which are these:
And also consider splitting your HTML file up whenever it’s possible to do so, saving both parts as a PHP file, and including the second part of it with the PHP include() or require() functions.
Then it might also be one of the other reasons in the article I got the file limits on as well, though I don’t know as I don’t have enough information as to the file you’re uploading but the file size…
Thanks. I’ve gone through that article and nothing seems to fit. The funny thing is, it’s says pdf files are not allowed, but I can upload those just fine. I’ve been uploading this HTML file for over a year without any issues. I upload an updated version probably once a month. I haven’t had any problems until today. I even went back to a backup of my website and pulled the file from there and uploaded it. Same thing, it was deleted as soon as the upload completed.