Back to Blog
Pathsnagger5/24/2023 On Mac, the corresponding support for Samba URLs seems incomplete. \\servername\SomeFolder\AnotherFolder\FileToShare.txt On Windows it can be done via a link such as: Is there any way to create a clickable link to a file (not a folder) on an SMB server, so that the link can be emailed to other people, and email recipient clicks on the click, the file is opened? (And server volumes mounted automatically as necessary) Perhaps my original question was not clear. As such, if emailed to another recipient, in general they do not work. Note that none of these retain the original server location and protocol (smb://servername) because the volume is now mounted. Snag Path File: file://localhost/Volumes/servername/SomeFolder/AnotherFolder/FileToShare.mp4 Snag Path HFS: servername:SomeFolder:AnotherFolder:FileToShare.mp4 Snag Path Unix: /Volumes/servername/SomeFolder/AnotherFolder/FileToShare.mp4 Snag Path Windows: \Volumes\servername\SomeFolder\AnotherFolder\FileToShare.mp4 And once it is mounted, PathSnagger generates the following strings for various options: All options in PathSnagger require that the drive is already mounted, as far as I can tell. Regardless of whether the link text is typed in manually, or is 'snagged' via some utility, it still doesn't work in the case I was mentioning. However, that utility does not solve the problem as far as I can tell. Is there any way to create a clickable link to a file (not folder) on an SMB server? in whatever application is associated to play the video, edit the document, etc). \\servername\SomeFolder\AnotherFolder\FileToShare.mp4Īnd clicking on the link would automatically open the file (e.g. It is as if the URL parsing support for Samba links only supports referencing directories rather than individual files.īy contrast, on Windows sharing a file can be done via this syntax: When the recipient clicks on the link, Finder appears to mount an empty fictitious volume called SomeFolder/AnotherFolder/FileToShare.mp4, containing no files. Smb://servername/SomeFolder/AnotherFolder/FileToShare.mp4 When the email recipient clicks on the link (which appears by default as blue underlined), OS X automatically mounts the server as a local volume, and Finder opens a window so that they can see the folder contents.īut when trying to create a link to a particular file, via this syntax: Smb://servername/SomeFolder/AnotherFolder/ However, it isn't clear how to create a link to a file on a server, such that it can be emailed to people.Ĭreating a link to a folder works ok, via this syntax: This works fine for basic operations such as browsing the servers, or copying files, etc. In a large corporation with mixed Mac/Windows network we use Samba to allow Mac OS X 10.6 to access the file servers. How do you create a link to a file on an SMB server, to send to other people (e.g.
0 Comments
Read More
Leave a Reply. |