Skip navigation
This discussion is archived

Emailing a link to a file on an SMB server

2387 Views 4 Replies Latest reply: Jun 23, 2011 2:18 PM by Andbrowny RSS
MatthewUK Level 1 Level 1 (0 points)
Currently Being Moderated
Jun 2, 2011 8:47 AM

How do you create a link to a file on an SMB server, to send to other people (e.g. in email)?

 

In a large corporation with mixed Mac/Windows network we use Samba to allow Mac OS X 10.6 to access the file servers.

This works fine for basic operations such as browsing the servers, or copying files, etc. However, it isn't clear how to create a link to a file on a server, such that it can be emailed to people.

 

Creating a link to a folder works ok, via this syntax:

    smb://servername/SomeFolder/AnotherFolder/

 

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.

 

But when trying to create a link to a particular file, via this syntax:

    smb://servername/SomeFolder/AnotherFolder/FileToShare.mp4

 

It doesn't work. When the recipient clicks on the link, Finder appears to mount an empty fictitious volume called SomeFolder/AnotherFolder/FileToShare.mp4, containing no files. It is as if the URL parsing support for Samba links only supports referencing directories rather than individual files.

 

 

By contrast, on Windows sharing a file can be done via this syntax:

     \\servername\SomeFolder\AnotherFolder\FileToShare.mp4

 

And clicking on the link would automatically open the file (e.g. in whatever application is associated to play the video, edit the document, etc).

 

Is there any way to create a clickable link to a file (not folder) on an SMB server?

 

Matthew

  • Templeton Peck Level 9 Level 9 (57,665 points)
    Currently Being Moderated
    Jun 2, 2011 10:43 AM (in response to MatthewUK)
  • Andbrowny Level 4 Level 4 (1,610 points)
    Currently Being Moderated
    Jun 23, 2011 2:18 PM (in response to MatthewUK)

    Hi Matthew, I believe it would be an authentication issue, are the clients part of a domain and do you have single sign on for the servers the links are pointing to?

    If the users manually connect to the server do they get prompted for a password?

     

    cheers

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.