Download link to a file on a network share not mapped to a drive

Silvia Ontiveros July 21, 2014

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"

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 21, 2014

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

Silvia Ontiveros July 22, 2014

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??

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 22, 2014

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.

Silvia Ontiveros July 27, 2014

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...?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 27, 2014

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.

Suggest an answer

Log in or Sign up to answer