To upload folders with the uploader I use the properties 'directory'. In the file manager widget I cannot used this, or? On which place must the porpertise be written?
Hello, In this case, we can get the uploader from the object file manager and after this just add directory property to the config
$$("files").getUploader().config.directory = true;
https://snippet.webix.com/ncm9n70e
I don't want only upload directories. Can I combinated this with files?
Is there no option for that?
Hello, It's a normal behavior: you can upload either folders or files. It is impossible to combine them.
Can I provide two action, one for upload file and one for upload folders? Can I set the config programmatically?
You can have separate actions in the right-click menu. You need to add an extra menu item and add/modify the related File Manager methods.
Check the following snippet, please: https://snippet.webix.com/8lpv05og
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Hello,
In this case, we can get the uploader from the object file manager and after this just add directory property to the config
https://snippet.webix.com/ncm9n70e
I don't want only upload directories. Can I combinated this with files?
Is there no option for that?
Hello,
It's a normal behavior: you can upload either folders or files. It is impossible to combine them.
Can I provide two action, one for upload file and one for upload folders? Can I set the config programmatically?
You can have separate actions in the right-click menu. You need to add an extra menu item and add/modify the related File Manager methods.
Check the following snippet, please: https://snippet.webix.com/8lpv05og