I’m not sure that it’s possible to filter what the browser lets the user 
choose, but you could block the upload after the user has selected the file - 
when you get the “addFile” event, call preventDefault() if you do not want the 
file to be upload.

Note: I’ve only just made this mod a few minutes ago, so you’ll need to get the 
latest from the SVN repo at source forge

John


> On 13 Nov 2014, at 13:12, aecio <vercingetori...@gmail.com> wrote:
> 
> Hi everybody, 
> 
> I'm using uploadmgr to upload files to the server. I need to filter the
> extension of the file to allow only word processors (.doc, .docx and .odt),
> slide show presentations (.ppt, .pptx and .odp), images (.jpg and .png) and
> PDF documents.
> 
> How can I do that???
> 
> Regards.
> 
> 
> 
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Uploadmgr-file-extension-issue-tp7586376.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to