Select folder with FileUpload

Components, Ajax Framework, Utilities and More.
Post Reply
guibernardi
Posts: 13
Joined: 19 Aug 2015, 15:16

12 Aug 2017, 15:25

Guys,

Is there any way to select a folder using fileupload?

I mean, I want to click in chooser button and select a folder and show the directory path instead of a file name or maybe I'm ok selecting a file but I want to show the directory path.

I did a search here, stack, showcase and extensions and I didn't find a solution, some developers suggested webkitdirectory, but I read and I noticed that isn't recommended in production sites.

Thanks in advance.

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

12 Aug 2017, 18:48

No, there is not... (ab) using the webkit workaround is the only (non-guaranteed compatibility wise) hack...
Ronald van Kuijk
______________________________
PrimeFaces 6.1, PrimeFaces plus 0.0.2 | JbossWildfly 10.1| Mojarra 2.2.13
Fedora 61, Firefox 'most recent'
Read the forum posting rules
Beginners: https://jsf.zeef.com/bauke.scholtz

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider], Bing [Bot] and 20 guests