Search code examples
javagwtwindows-explorer

GWT Open Windows Explorer / File Explorer on client side


I'm trying to figure out if there's away to load the O/S native file explorer given a location like \computer\mystuff .

I'm trying Window.open(), but that just seems to open a new tab.

I'm on GWT 2.6.1


Solution

  • Browsers are prohibited from directly accessing the computer file system. It would have been a huge security hole otherwise.

    You can ask a user to select file to upload or a location to save a file to, but you cannot select a specific location from your code - the default location is set by the browser's settings.