A file showing 0 bytes usually means that the file exists on the server, but its actual content wasn't successfully written.
This can happen if an upload is interrupted, the hosting account reaches a resource or storage limit, or the upload process encounters a server-side problem.
I'd first check the available disk space and inode usage from cPanel.
If you're uploading through File Manager, try uploading a smaller test file to see whether the problem happens again.
For larger files, an FTP client such as FileZilla can be a better option because it provides more detailed information about upload failures.
Also, check the file permissions and hosting error logs if the issue continues.
One important thing: don't overwrite your original local files until you've confirmed that the server-side copies are complete and working.