That is correct. But the error you are getting is because you have not uploded in binary mode.

Anyway try one more upload. Connect to your FTP server, then set

FTP menu > Transfer Mode > Binary

Now upload all files again and overwrite existing files and see if that works.