Hi Guys,
I am working up a little 'documents' section to an app of mine, where people can add links to docs on various share drives in our LAN, and they are displayed along with other details and can be clicked to open.
Everything works well using an input=file then an onchange to update a hidden text field to capture the whole directory, but at the moment when saving a link, the uri (as such) is starting with the mapped drive letter on my system. Fine for me, but no good if someone who has a particular drive mapped to another letter wants to use the link.
Is there any way to force the code to take the full path (ie: \\server\share$ \), not just the mapped drive letter (G:\) ?
Only alternative if not I suppose is to make everyone put things in one share location if they want to link to it, then trim the drive letter and replace with the server name....
Any help greatly appreciated as always! :)
JM
I am working up a little 'documents' section to an app of mine, where people can add links to docs on various share drives in our LAN, and they are displayed along with other details and can be clicked to open.
Everything works well using an input=file then an onchange to update a hidden text field to capture the whole directory, but at the moment when saving a link, the uri (as such) is starting with the mapped drive letter on my system. Fine for me, but no good if someone who has a particular drive mapped to another letter wants to use the link.
Is there any way to force the code to take the full path (ie: \\server\share$ \), not just the mapped drive letter (G:\) ?
Only alternative if not I suppose is to make everyone put things in one share location if they want to link to it, then trim the drive letter and replace with the server name....
Any help greatly appreciated as always! :)
JM
Comment