Jump to content

Open Files Localy Via Browser


benaust

Recommended Posts

Hi There

 

I have an html file with some hyperlinks. These hyperlinks are pointing to my pc to some designated folder, let’s say "C:/X-Folder/Y-File.pdf"

 

The html file is on the server on the internet like any website page, and when I open this html page in my browser on the net, I like the hyperlinks to open the local files in the above example for instance.

 

Anyone can help?

Any work around or ideas?

 

Thanks in advance.

 

Ben

 

Link to comment
Share on other sites

A web page who's origin is not the local PC cannot open links/src to local files on the PC, without turning off browser security settings or installing a java applet (also requires the java VM) or installing an IE ActiveX component.

Link to comment
Share on other sites

  • 1 month later...

Very Right, Specially IE Browsers.

 

We had to do a workaround. We did this by installing a small apache - PHP server like  "Server2Go" on local PC, Then used the URL to pint to http://127.0.0.1/MyFolder/TestFile.pdf  for example which is the localhost address. Using HTTP protocol we got it to work. Offcourse now there is a small apache running locally on this PC.

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.