I’m sorry I don’t deeply understand this AFP or network volume sharing. But I just did a quick test of the new TotalFinder functionality requested by Mark (original poster) and it seems to work like this on my machine with macOS 10.13.5.
I connected to another machine “minime” on LAN via Finder’s sidebar item and this mounted a volume via AFP. Then in TotalFinder I right-clicked folder “jarek” (mounted at
/Volumes/MAMUT1/jarek) and selected Copy Path -> URL from the context menu. The URL produced was
afp://darwin@minime._afpovertcp._tcp.local/MAMUT1/jarek/. This is correct URL from the TotalFinder’s perspective, because it really contains some DNS name, not a file path alone. But it does not resolve when I try to ping
I just googled and it looks like the problem is described here:
I can confirm the behaviour, I tried to connect to the same machine via
Go -> Connect to Server ... and entered local LAN DNS name for the minime machine
minime.lan and mounted MAMUT1 again. TotalFinder’s Copy Path -> URL then returned
afp://email@example.com/MAMUT1/jarek/. Which is expected and works.
I think to make this work in all cases you would have to configure your DNS server to resolve _afpovertcp._tcp.local to relevant IPs. In my case I would have to map [something]._afpovertcp._tcp.local -> [something].lan or hard-code a list of known machine IPs (which would be less flexible).
Just my $.02. Not sure if this is relevant to your problem at all.