Linking to a file or directory on my local or a shared external drive

Follow

Comments

9 comments

  • Avatar
    Michael Decleene

    I believe you need 3 "/" after "file:"


    Links like "file:///<server_name>/shared/Project Info/UsefulDoc.doc" work for me on Mingle 2.3.1.

  • Avatar
    Yen-yei Cheong

    Hi


    Just tried that with the following syntax:


    "Link to file":file:///c:/TestDoc.doc


    but doesn't seem to work. Is it browser-specific? Tried Google Chrome 3.0.195 and Firefox 3.0.15.


    Thanks


    Yen

  • Avatar
    Michael Decleene

    Ah, right.  It only really works for me in IE (probably because only IE really is integrated with Windows to browse directories/open files, etc.)  This seems consistent with other wiki products that use file:/// links (Wikipedia's Mediawiki behaves similarly).


    [edit] This appears to be a known issue/security restriction with Mozilla-based browsers.  See http://en.wikipedia.org/wiki/File_URI_scheme [/edit]


    If you're not using IE, the "IE Tab" extension to FireFox allows spawning a link in an Internet Explorer tab, which is how I use this--I right-click on the file, use "Open link in IE tab," and it downloads the file (and opens a blank tab, which I have to close).  I'm sure there are more elegant solutions.

  • Avatar
    Yen-yei Cheong

    Hi


    I've just upgraded my IE and retried and this still doesn't work.


    Any ideas?


    I'm very keen to get this working.


    Thanks

  • Avatar
    Michael Decleene

    Hmm...may be something they removed from IE7.  Read the link I posted earlier (or gooogle)--there are a number of browsers that don't follow file:// links for security reasons.  This appears to be something you can fix with configuration (the wikipedia article contains a link for fixing in Mozilla browsers like FireFox)


    I'm not aware of a general method in Mingle for linking to a file on a filer server somewhere other than embedding file:// links to links, but maybe someone else has an idea. Obviously, this would be easier to link in Mingle if the files were somewhere accessible via HTTP, rather than just on a shared drive (for example, in a subversion repository)

  • Avatar
    Anju Antony

    Hi Yen


    This seems to work for me IE on Windows(Mozilla does nothing). Notice the '5' slashes before the networks drive name.


    "name":file://///NETWORKDRIVENAME/downloads/Chess.doc


    Syntax -  file://///path

  • Avatar
    Yen-yei Cheong

    I've tried the following with IE, but none of them seem to work :( :


    "Link to file":file://///c:/TestDoc.doc
    "Link to file":file://////TestDoc.doc
    "Link to file":file://///TestDoc.doc


    "Link to file":file:///c:/TestDoc.doc


    "Link to file":file:///TestDoc.doc


    "Link to file":file:////TestDoc.doc


     


     

  • Avatar
    Anju Antony

    Can you check if it works with a network drive?


    If I could understand your exact requirement/purpose behind giving a link to a document maybe we could come up with an easier/more-reliable solution.


    From a collaboration perspective there is little benifit in putting a link to your local drive as it would  be accessible only to  you.

  • Avatar
    Yen-yei Cheong

    I was only trying with my local drive as I wanted to try something simpler, before trying the shared drive. I will need to link to a shared drive and have tried various combinations of the above with a shared drive, but nothing is working.


    The reason I want to get this working is so I can link to a working document without having to re-attach it each time I make a change.


    Thanks


    Yen

Please sign in to leave a comment.