I'm trying to implement jQuery-File-Upload - I have it working when I drag & drop files from explorer into my browser. But I also want to be able to drag and drop a folder.
When I drop files onto the browser, the files are in the data.files param in the fileuploaddrop(e, data) event handler. But when I drop a folder, the files array is empty.
var dropZone = $('#fileUploadDiv').fileupload({
dropZone : $('.dropZone'),
drop : function(e, data) {
$.each(data.files, function(index, file) {
console.log('Dropped file: ' + file.name);
});
}
}).
Is this not supported by the plugin, or is there a mystery setting I'm missing somewhere ?