Uploading Directories At Once With webkitdirectory
![Thumbnail for 19235 Thumbnail for 19235](https://www.cunninghamwebsolutions.com/wp-content/uploads/2017/09/19235-thumb-80x7.gif)
![](http://statisches.auslieferung.commindo-media-ressourcen.de/advertisement.gif)
If you’ve ever tried to implement a bulletproof, good-looking file uploader, you might have encountered an issue: uploading an entire folder or folders of files is usually quite a hassle, as files in each folder have to be selected manually. And then some folders might contain sub-folders as well.
Well, we can use webkitdirectory
, a non-standard attribute that allows users to pick a directory via a file input. Currently supported in Chrome, Firefox and Edge.
The post Uploading Directories At Once With webkitdirectory appeared first on Smashing Magazine.
From our sponsors: Uploading Directories At Once With webkitdirectory