Step 1: Open your Filezilla ftp program.
Step 2: Select “Edit” and click “Settings“ from the drop Box.
Step 3: In the “Select page:” box, under “Transfers“, click “File Types“.
Step 4: In the “Default transfer type” section, select the “Binary” radio button.
Step 5: Click OK.
Step 6: Now when you connect to your server with ftp, files will be treated as Binary files. This should prevent the files from becoming corrupted.