i have two user account: A and B
A shared test.doc with B,
test.doc absolute path is /var/www/nextcloud/data/A/files/store/path/test.doc
if i logged in with user B , how can i get the path above like “/var/www/nextcloud/data/A/files/store/path/test.doc” or “/A/files/store/path/test.doc”,?
which API should i call?
thanks!
1 Like
Hello,
I think I needed the same and I found you can get “local link” of a internally shared file as describe here :
Hi,
I’m not sure if this is applicable for you/ your company, but what about the C:\Windows\system32\drivers\etc\hosts file?
With:
192.168.x.x your.domain.de
the URL of your server would internally (on the devices with changed hosts file) always resolve to the local IP address. So shared links can always look the same and everybody who receives the link accesses the server either by the hosts file resolved address or the DNS resolved address (external IP).
Maybe this is an applicable wor…
(When you click on the shared icon of a internally shared file I didn’t notice this small icon).
I hope that can help you.
Simon