Folder upload in file manager

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?

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

    $$("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?

  • edited June 2018

    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

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!