File Manager

Hi.

How to insert MANUALLY a folder with its files into the existing datas.
I want to refresh a Folder manually.*

Thanks

Comments

  • Even with a define ("data") , File manager is not updating...

  • What is my problem.
    I want to upload a folder with its files, but file manager is showing
    MyFolder/MyFile.txt

    Why not creating Folder MyFolder, and putting MyFile in this folder ?

    Actually, i am trying to refresh visually this , but can't do any update !

  • Hello!

    Unfortunately, there is no way to solve it.

    The point is that server-side gets directory name, but ignores it - this problem is possible to change. The server-side code we have as an example, so you can replace it. As to the client-side: client code doesn't respond to this problem, so, accordingly, it doesn't create new directories. We will consider the improvements of this behavior for future releases.

  • I have done it :-)

    Is there an event which is raised when all files are uploaded ?

    Thanks

  • edited September 14

    Webix Uploader, that is used for file uploading, fires either onFileUpload or onFileUploadError event.

    var uploader = fileManager.getUploader();
    
    uploader.attachEvent("onFileUpload",function(data, response){
        // uploading finished
    });
    uploader.attachEvent("onFileUploadError",function(data){
        // error response
    });
    
  • edited September 14

    onFileUpload and onFileUploadError are not in manual.
    Is this missing ?
    thanks

  • edited September 17

    Could you please clarify about "onFileUpload and onFileUploadError are not in manual" ?
    Such events you can find in ui.uploader . And, to make it work in filemanager, we just get the uploader via
    var uploader = $$('filemanager').getUploader();
    Please check the example: https://snippet.webix.com/vtyg3fds

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!