Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / August 2007



Tip: Looking for answers? Try searching our database.

HTML links to folder on a domain

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave - 30 Aug 2007 19:40 GMT
We have a windows domain with Mac on them that need to access
networked folders by clicking on HTML links.

The following works on windows machines on the network but not the
Macs:

<A HREF='\\fileserver\upload\20078\30-12w'>click here to open your
folder</a>

In Mac mail we get the error: "Mail was unable to open the URL."

Does anyone know the convention for making this link work on Mac?
D. Kirkpatrick - 30 Aug 2007 21:29 GMT
> We have a windows domain with Mac on them that need to access
> networked folders by clicking on HTML links.
[quoted text clipped - 8 lines]
>
> Does anyone know the convention for making this link work on Mac?

Well for one the slashes are facing the wrong direction and single
quotes when a standard URL needs double quotes.

<A HREF="//fileserver/upload/20078/30-12w">click here to open your
> folder</a>
Dave - 30 Aug 2007 22:58 GMT
> In article <1188499259.797884.298...@i38g2000prf.googlegroups.com>,
>
[quoted text clipped - 19 lines]
>
> - Show quoted text -

I made the correction to the link, and placed it in a test.htm file,
and Safari still comes up and says the page cannot be found.  Should
some kind of alias to the server need to be created on the Mac client
or something?

Thanks
Florian Zschocke - 31 Aug 2007 12:01 GMT
Dave <onlinefuel@gmail.com> schrieb:


>> <A HREF="//fileserver/upload/20078/30-12w">click here to open your
>>
[quoted text clipped - 6 lines]
> some kind of alias to the server need to be created on the Mac client
> or something?

Sure, that will not work. if you to open a local file with your browser
it is:
<A HREF="file:///fileserver/upload/20078/30-12w">click here to open your
folder</a>
On a network share this will work if the share is already mounted and
you have the rights to access it this way.

Florian
Michael Ash - 30 Aug 2007 22:14 GMT
> We have a windows domain with Mac on them that need to access
> networked folders by clicking on HTML links.
[quoted text clipped - 8 lines]
>
> Does anyone know the convention for making this link work on Mac?

This is not a valid URL. It doesn't start with a scheme and it uses the
"wrong" path separators so it just looks like a relative URL to a file
with a really funny name.

I don't know exactly but I imagine a proper URL would look something like
"smb://fileserver/path/to/whatever".

Signature

Michael Ash
Rogue Amoeba Software

BreadWithSpam@fractious.net - 30 Aug 2007 22:29 GMT
> The following works on windows machines on the network but not the
> Macs:
>
> <A HREF='\\fileserver\upload\20078\30-12w'>click here to open your

That format - \\server\sharedfolder\resourcename
is called UNC and, using backslashes like that, is
a windows-specific format.  Your Mac has no idea
what to do with it.

The question then is - how is that filesystem
accessible to your mac in the first place?  If
it's, say, a SMB share, you can use a URL in
there which looks like
  smb://servername/sharedfolder/file
If it's not SMB, you may have to do something else.

Note that when specifying a proper URL, you need
to specify the protocol.  (http: smb: ftp: etc).

Signature

Plain Bread alone for e-mail, thanks.  The rest gets trashed.
No HTML in E-Mail! --    http://www.expita.com/nomime.html
Are you posting responses that are easy for others to follow?
  http://www.greenend.org.uk/rjk/2000/06/14/quoting

Dave - 30 Aug 2007 23:29 GMT
On Aug 30, 4:29 pm, BreadWithS...@fractious.net wrote:
> > The following works on windows machines on the network but not the
> > Macs:
[quoted text clipped - 21 lines]
> Are you posting responses that are easy for others to follow?
>    http://www.greenend.org.uk/rjk/2000/06/14/quoting

I tried to prefix the URL with file and smb... and file works on
Windows but not Mac, while Safari says it does not recognize SMB.

When you ask how the filesystem is accessible to the Mac in the first
place, that is what I'm trying to figure out.  I don't know much out
the Mac OS.  I know that users create shortcuts (aliases?) to get to
folders on the network.  But I do not know how to create a link that
goes there.
Dave - 30 Aug 2007 23:36 GMT
> On Aug 30, 4:29 pm, BreadWithS...@fractious.net wrote:
>
[quoted text clipped - 34 lines]
>
> - Show quoted text -

Also want to add, when I try the string in the "Connect to Server" box
it recognizes the server.  But when it's a link on a webpage it does
not want to go there.  Why is that?
D. Kirkpatrick - 31 Aug 2007 02:32 GMT
> I tried to prefix the URL with file and smb... and file works on
> Windows but not Mac, while Safari says it does not recognize SMB.
[quoted text clipped - 4 lines]
> folders on the network.  But I do not know how to create a link that
> goes there.

What about

file://localhost/

On an OS 9 system that displays the desktop and you can tree down from
there.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.