I get the following error in the ExpressionEngine control panel file sync utility:
“Invalid mime type, file could not be processed”
This only happens when syncing certain file upload directories after uploading files via FTP.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ExpressionEngine needs to know what kind of file each file in your directories is. In order to do this it keeps a list of file/MIME types in the config/mimes.php. However some file extensions are not there (flv and mobi to name two relative common files you may upload).
If it does not see the file in that list it will throw that error.
You can add a new file MIME type to the list in mimes.php as follows:
For a complete list of file extensions and their MIME types review this list:
http://www.iana.org/assignments/media-types/media-types.xhtml