Hi Zopers

How does Zope recognize the type of a file? Mostly it 
recognizes .doc's correctly as 'application/msword', but 
sometimes they turn up as 'application/octet-stream'. 
Others, like .fh8 (Freehand) and .exe (self-extracting
zip) are (unsurprisingly) also turning up as 
'application/octet-stream'. 

The files are being added using
  <input type=hidden name=":method" value="manage_addProduct/OFSP/fileAdd">

Can Zope be taught more types? Failing that, I guess I 
should try to catch the extension using 
"find(S, SUB[, START])" on the id (which is the filename).

-- 
jean

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to