I want to create a download link to a file on a network share that is not previously mapped in my computer for example to \\server\folder\file.txt. Is it possible to do that [file://temp/foo.txt]
I checked the help and it says "to a file on your computer or on a network share that you have mapped to a drive"
This isn't really anything to do with Jira to be honest.
You need to be serving that file up from whatever server it's on and then you'll be able to point to it via a url or something. File:// only works for local files, so you'd need to "mount" the remote file on your local file system to be able to see it
So, that means that if other person wants to open that file, he must have the network share mapped in the exact same letter?? Otherwise it cannot be oppened.
Or, is there another option to do this without having to attach the files into the issue??
Yes, of course you do. If you want something to refer to an object by a path, it's got to be the same path for all users.
Or you need something that understands how to rewrite a relative path (most primitive file shares won't cope with that)
Or you could dump the drive mapping and refer to the share by it's actual name, as that's the same irrespective of what your users to with mappings.
There are plenty of options, the most obvious one is to store files on a network share that provides a proper path instead of relying on inconsistently mapping drives.
Thank you for the answer,
"Or you could dump the drive mapping and refer to the share by it's actual name, as that's the same irrespective of what your users to with mappings"
What will be the syntax for this...?
It looks like you're new here. Sign in or register to get started.