I think I get what you want. You want to get the real path in the remote server or machine of a file you are accessing through a network share. That is the PC that is opening the website, is just sort of a gateway if you will to a shred resource on the network.
[Website]->[PC]->[local network]->[network server]->[folder-path]-[file]
So this:
var file = "\\folder\my-path.txt"
Would be more accurately described as:
Code:
var file = "\\local_network_server\serverfolder\my-file.txt"
And you want the actual path of the file in the remote server?
I don't think you can get that, nor would you need to.
As the actual path could be something like: C:\users\documents\soemotherfolder\sharedfiles\my-file.txt and because you can't access that path directly anyway.
Having that is of no use to you, unless you wanted to recreate that path in the local machine. But that is not something a website would ever need to do. As was said above, the website should not care where the user stores the file.
----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
Behind the Web, Tips and Tricks for Web Development.