0

I am using ckfinder for file manager of my website.
I used this post for get url of selectd file.
but how can I access to url of multiple selected files in ckfinder?

Majid Basirati
  • 2,665
  • 3
  • 24
  • 46

1 Answers1

1

Use third argument of select finder.SelectFunction handler:

function showFileInfo( fileUrl, file, files ) {
    for ( var i = 0; i < files.length; i++ ) {
        console.log( files[i].url );
    }
}

With this you also get whole array of selected files which contains information about file like name, size, etc.

jodator
  • 2,445
  • 16
  • 29