Hi Claus,

I am stripping the suffix of the filename to get the mimetype (I have a
dictionary with the mime-types and suffixes). This solution only works,
if the file has a suffix, so Mac users have to make sure they add the
right suffix.

Claus Priisholm wrote:
> 
> We're currently using a hacked version of the Fileupload example (pre
> WO4).
> 
> I've looked at WOFileUpload in WO4, according to the docs the only
> information that gets passed along (besides the data itself) is the
> filename. Is there a way to get more information from the client,
> especially the mimetype? (this is what our hack adds to 'old' fileupload
> code)

Reply via email to