I think your website’s files get corrupted because of the file manager — but to clarify, it’s not because the servers are actively rejecting the files.
Please try using a desktop FTP client like FileZilla.
I shared the article above to tell you that you cannot collect error messages with curl, because it will not reach the actual issue.