Im finding that if I upload .log or .dot files through the share interface it gets the correct mimetype set, but if I upload it through ACA bulk upload its getting the mimetype set to application/octet-stream.
We have our own list of mimetypes coming from this oc-format-config.xml
Currently the .log extension is NOT in here at all and
The .dot extension is configured as
Im finding that if I upload .log or .dot files through the share interface it gets the correct mimetype set, but if I upload it through ACA bulk upload its getting the mimetype set to application/octet-stream.
We have our own list of mimetypes coming from this oc-format-config.xml
Currently the .log extension is NOT in here at all and The .dot extension is configured as
<format fileExtension="dot" mimeType="application/dot"/>
but application/dot is not an actual mimetype - the mimetype for .dot files is application/msword
Solution:
To avoid any docs with the .log or .dot extensions get uploaded as application/octet-stream from ACA we must add
<format fileExtension="log" mimeType="text/plain" contentType="crtext" />
and update
<format fileExtension="dot" mimeType="application/dot"/>
To
<format fileExtension="dot" mimeType="application/msword"/>
In the oc-format-config.xml > contentFormats