• Hi
    Im new to wordpress (and HTML), but i managed to set up a webserver for simple cms in our IT department. (static pages) I want to link to external files on our network and i have tried this:

    <a href="//10.3.110.8\it-drift\bogstaver.txt">NY test</a>

    But nothing hapens when i click on the link. If i right click on the link i can save the file, but the open does not work. Nor open in new window ect. If i copy the shortcut and paste it in the browser its OK.

    Can anyone help

    best regards

    Kim Nielsen

Viewing 5 replies - 1 through 5 (of 5 total)
  • It looks like there’s no http in that address and you placed the slashes in the wrong direction (\ instead of /).

    The correct link would be: <a href="https://10.3.110.8/it-drift/bogstaver.txt">NY test</a>

    And why do you use the IP? Is the website local or intranet?

    Thread Starter kimnil

    (@kimnil)

    Hi thanks for your answer. But i still dont get it to work.
    Actually it is not http but an external wordpad/notepad file that i want to open. Its on a internal network hence the ip number of a NAS server.

    I don’t really know how things work with NAS, but a link (in the traditional meaning) to a file to a file goes with https:// and ends with the file name and extension.

    You could also have a relative path to that file, as in <a href="/file.doc">download file</a>, but I don’t know what is it that you’re running there and how it should work.

    Don’t you have a HELP menu somwehere on your NAS?

    Thi is a network issue You will need to serve this through a port and call it in browser much like an admin page for a router or other system

    Thread Starter kimnil

    (@kimnil)

    Hi
    Maybe i should refrase my question.

    Say, i have a file on my c-drive c:\file.txt. The functionality i want is to be able to click on a link and then the file opens in notepad (or whatever program is localy assosiated with -*.txt files)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘link to and open external file’ is closed to new replies.