Upload files in BINARY mode, it will work. If you search the forum or even google, you will get solution for the error.