Loading...
 
Skip to main content

Features / Usability


File gallery: set file formats

I'm reading through the documentation and ran across this:

"Filtering file uploads

You can set up filters for filenames so filenames will be checked and maybe rejected depending on their filenames. Filters are regular expressions perl-like without the // delimiters.

Filename must match:

A regular expression that must be matched to accept the file example A-Za-z * (filename can only have a-z letters)

For example, if you want to require that uploads must have a wordprocessing file extension, you could enter .*\.(odt|sxw|doc|dot|rtf|wpt|frm|wpd|txt|ODT|SXW|DOC|DOT|RTF|WPT|FRM|WPD|TXT)

Filename must not match:

A regular expression that if matched rejects the file, example \.gif (rejects gif images note that the period must be escaped since we are using regular expressions) If you don't know anything about regular expressions just leave the fields blank and all the files will be accepted."

I tested adding the list of extensions into the 'must match' field and adding a few more file extensions, but it didn't fix anything. Is there somewhere else I can add extensions to be able to backup other file types?

Thanks