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 

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).


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

Reply via email to