Configuring fileinput to accept a directory

Hi there, is it possible to provide an Accept parameter that will work for directories? I need to identify directories not files.
Thanks a lot!

This isn't possible as far as I know. The FileInput relies on the built-in input type="file" element which only accepts file mime types.

Thanks... I will need to think of something.