How to distinguish folders and files drag and drop Ajax upload in FireFox
问题 I can not find the way to distinguish between folders and files drop in FireFox Ajax. Looks like there are no signs in FireFox FileAPI that can tell if this is a folder or a file. However I see that Google docs somehow can distinguish between folders and files drop. It does not relie on extensions or file length, files without extensions are uploaded correctly, as well as 0-lenth files are uploaded with no problem. How do I distinguish between files and folders during D&D in FF? 回答1: This