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??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Whatever you type into the mapping when you map the the drive. If you set "drive r:" to be the mapped drive, when you set it up, you've effectively entered the actual name. It'll be something like //arandomservername/somewhere/onthe/server. User 1 could be using R:, User 2 on z:, user 3 on f:, but the maps all point to the same place.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.