Support webkitdirectory in FileUpload

UI Components for JSF
Post Reply
Babas007
Posts: 251
Joined: 24 May 2011, 09:42

28 Jul 2017, 14:16

Hi everybody,

I'd like to take advantage of File API of Chrome/FireFox/Edge supporting drag and drop of folder, and support of relativePath. I was wondering how to retrieve this information on server side?

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

30 Jul 2017, 21:31

what relative folder support

Babas007
Posts: 251
Joined: 24 May 2011, 09:42

31 Jul 2017, 14:42

here is an example: https://developer.mozilla.org/en-US/doc ... ry#Example

we're working on a POC, and would like to make fileupload supporting drag & drop folder and relative path. The idea is to retrieve the relativePath of each file once uploaded.

The File API has a new attribute named "relativePath", I'd like to get this info on server side

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 60 guests