I was looking at the demos and playing around with the upload control. It seems that its designed to either be File uploads or Directory uploads, not do both at the same time. It seems we would would have to have two buttons one to allow choosing files and one to allow choosing a directory. The same with drop locations we could have a custom zone that accepts files and we would have to have another custom zone that only accepts a directory.
Below are some scenarios to help explain. I would love to know if all of these scenarios are possible and if so how. If they all of them are not then I would like to know what the reasoning is behind this limitation.
Scenario One
The user click an "upload" button that they can choice either 1 or more files, or 1 or more directories and the control will handle uploading all of them
Scenario Two
The user drags some files to a drop location and it detects they are files and uploads
Scenario Three
The user drags one or more directories to the same drop location as above and it detects they are directories and uploads the files represented within