How to upload and list directories at firefox and chrome/chromium using change and drop events : <p>Both mozilla and webkit browsers now allow directory upload. When directory or directories are selected at <code>&lt;input type="file"&gt;</code> element or dropped at an element, how to list all directories and files in the order which they appear in actual directory at both firefox and chrome/chromium, and perform tasks on files when all uploaded directories have been iterated?</p>
