php - blueimp detect folder structure -


I'm using BlueFish's jazz file upload.

When I drew up a folder structure like this:

  /img/file1.jpg /img/img2/file2.jpg  

the plugin is a "root" structure detects files in subfolders, but it remains more, so I uploaded it as:

  /img/file1.jpg / img / file2.jpg  

there is drag and no way to store the folder structure of the drop folder

thanks for your help

Just follow the instructions sent from the server Add path information wrath:

  data.formData = {path: data.files [0] .relativePath}  

And then you do it server-side Will be able to get along with every other file information, and create the same file structure.


Comments