rhughes
rhughes

Reputation: 9583

Opening a directory from Chrome using file://

Looking here and here it seems it wasn't possible due to security issues, but these are old posts.

I am guessing it still isn't possible, as when I click on the link nothing seems to happen. What I want is for the folder to open. Does anybody know if there are any workarounds other than installing extensions?

I'm using Chrome Version 31.0.1650.57 m

The HTML for the link is:

<a href="D:\2013_1123" title="D:\2013_1123">D:\2013_1123</a>

Chrome converts this into a file:// protocol url automatically.

The Url for the webpage is: http://localhost:50584/ - so is running on http space

My website will run as an intranet and the directory will be a shared network drive if that helps at all.

Upvotes: 1

Views: 958

Answers (1)

tomdemuyt
tomdemuyt

Reputation: 4592

It will not work from any http(s) context,

however, if your pages are all static content, you can have the bookmark point to your file:// index.html and then it will work.

Upvotes: 2

Related Questions