Occasionally, issues occur with files becoming corrupt when uploading through FTP. When viewing the corrupted file through the browser, the following error will be thrown.

"This image can not be displayed because it contains errors"

This is typically caused by uploading files through FTP as ASCII file transfer type. The "ASCII transfer type" will transfer the files as regular text files. The "Binary transfer type" will transfer the data in binary mode which handles the files as binary data instead of text data. Setting your FTP client to Binary will prevent your files from becoming corrupted through ftp transit. Please see the following on how to switch your FTP program to Binary.

It's also been brought to our attention that another possible cause of file corruption during FTP transfers, could be from your local firewall. Please also check for any updates to your firewall software, and possibly restart your router as well, if switching your FTP client settings to binary doesn't work.

Changing your ftp program to binary transfer

You can change the transfer type in your ftp program to Binary. All FTP programs should have this functionality. The following steps will demonstrate how to change the transfer type from ASCII to Binary in Filezilla.

  1. Open your Filezilla ftp program.
  2. Settings in FileZillaSelect "Edit" and click "Settings" from the drop Box.
  3. Transfer settings FileZillaIn the "Select page:" box, under "Transfers", click "File Types".
  4. Binary radio button FileZillaIn the "Default transfer type" section, select the "Binary" radio button.

    Click OK.

    Now when you connect to your server with ftp, files will be treated as Binary files. This should prevent the files from becoming corrupted.


Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm James Richardson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

We've been listening!

2013-01-18 08:48 am
rwcar4 from our Community Support let us know that their FTP file corruption problems were resolved when they updated their firewall software and restarted their router. Added this information to the article.

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. How to auto assign users to a user group on registration?
  2. DNS updated Site is now live -Remove Temp URL from wp Config?
  3. how and where do I copy FB like button code into HTML to add to my web page please

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!