Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'One way to share links to networked files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
One way to share links to networked files
Authored by: timcrawf on Mar 23, '09 11:30:07AM

I tried many of these suggestions, and while it give a url, what it gave me was one based on a local file system, e.g. file://localhost/Volumes/SharedDocs/DaveSD.JPG
this only works if the shared volume is already mounted. I would like a way to do it like "the other guys" where it actually tries to mount the volume if necessary.
something like afp://192.168.5.8/Shared/goodstuff/file.jpg
this should then work for anyone in the organization.



[ Reply to This | # ]
One way to share links to networked files
Authored by: ctierney on Mar 23, '09 12:54:50PM
If you don't mind assuming the protocol and host you use something like the following:
http://putnamhill.net/applescript/copy-afp-paths

Or this for a windows share:
http://putnamhill.net/applescript/copy-unc-paths

Looks like you could extract the protocol from the mount command if you want to get fancy.

[ Reply to This | # ]