[Zope] ExtFile - wrong file extension and content_type

Stefan H. Holek stefan at epy.co.at
Thu Feb 9 06:37:36 EST 2006

Two things to check

- Does your /etc/mime.types file on the server contain the correct  
entry for msword?
- Do your clients (browsers) reliably sent the msword content-type?


On 7. Feb 2006, at 19:16, Palermo, Tom wrote:

> All,
> I am working on a project using ExtFile. Lately, when uploading MS  
> Word files, they get uploaded to the file system as .exe files (eg.  
> test.doc becomes test.exe) and the content_type is set to  
> application/octet-stream instead of application/msword. Sometimes  
> the content_tpye is correct but the file extension is still set  
> to .exe. Does anyone know what could be causing this? Is there a  
> config setting in ExtFile that's doing this? Any ideas would be  
> much appreciated.
> Thanks,
> Tom

Anything that happens, happens.  --Douglas Adams

More information about the Zope mailing list