Microsoft Edge supports uploading files, folders, and combinations of files and folders using APIs that are interoperable with Chrome.
|DataTransferItem.webkitGetAsEntry method||Returns the
|WebKitEntry interface||Represents a file or directory. (Use the
|WebKitDirectoryReader interface||Provides the
|WebKitFileSystem interface||Provides an interface to the (sandboxed) file system for the upload. You can use the
This snippet demonstrates how to differentiate between the files and folders of an item that's been selected for upload.