mardi 14 avril 2015

Displaying a pdf on a network share via a link

I am trying to display a pdf via a link but I can't figure out how to address it. I can display the image in both ie and firefox with this:


\\192.168.nn.nn\sharedfolder\folder\200211ACD\AX2F0345\0247.PDF


But when I code this:



<a href="\\192.168.nn.nn\sharedfolder\folder\200211ACD\AX2F0345\0431.PDF">SS9230</a>


I get this in my address bar:



localhost/\\192.168.nn.nnn\sharedfolder\folder\200211ACD\AX2F0345\0429.PDF


But when I copied it to paste it here it looked like this:



http://ift.tt/1EzB4F5


I tried prefixing it with "http:" but this did not work either. I have a local copy of wamp installed and do not know if this is interferring in any way. I had someone else try and they can get a directory listing by entering " \\192.168.nn.nn\sharedfolder". I just want a page with links to images on a share to be able to display them.





Aucun commentaire:

Enregistrer un commentaire