Uploader - file types to exclude
Cindy Qi Li
cindyqi.li at utoronto.ca
Fri Jun 26 19:48:47 UTC 2009
Aaron, Colin and Justin, thanks a lot for your help. Fluid file uploader in
ATutor has been successfully upgraded to 1.1.
Another thought: one feature that Fluid may consider to add in is the file
types to be excluded from the uploader. File uploader already supports the
file types that can be uploaded by setting the uploadManager option
"fileTypes". When this option is set, only the given file types are listed
in the popup OS file dialog.
In ATutor, administrators can define a list of file types that are NOT
allowed to be uploaded into ATutor. For example, the files with extension
"exe" or "php" or "bat" are forbidden as they have potential to ruin the
system. It would be nice that Fluid can support something like
"fileTypesToExclude", which could either stop the file types being listed in
file dialog, or, when they are selected in dialog and go into queue, show an
error like "illegal file type" besides those files.
Cindy