File Upload and knowing the directory structure

后端 未结 3 1830
长情又很酷
长情又很酷 2021-01-06 03:30

We are using jquery fileupload to drag and drop files (and folders) from a local computer to a browser. This works great but we can\'t capture the directory structure of the

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-06 04:08

    File API: Directories and System is currently a W3C Working Draft and already works in webkit, works in latest Chrome and Safari.

    There is a nice file upload example, you can dropdown a directory and see it's structure: http://sapphion.com/2012/06/keep-directory-structure-when-uploading/

    Awesome html5rocks tutorial: http://www.html5rocks.com/en/tutorials/file/filesystem/#toc-dir

提交回复
热议问题