[Macpartners] link to file on AFP/SMB volume from Mac
Mateja Miljacki
mateja at apple.com
Thu Mar 30 00:35:32 EST 2006
http://docs.info.apple.com/article.html?artnum=300502
There may be ways of packaging the smb url in some other way into the
web-page.
Mateja.
On Mar 29, 2006, at 7:40 AM, Helen Rose wrote:
> I have items that I want to make available from a my local
> fileserver (which serves via AFP but can also serve via SMB as it
> runs OS X server) via the web.
>
> I tried using this HTML code:
> <a href="afp://servernamegoeshere.mit.edu/RDFileserver/Computer%
> 20Support/Computing%20Templates/Contact%20Report%20Templates/
> contact-report.pdf">newest contact report template</a>
>
> However, if I'm already connected to the volume, I get an error
> message from MacOS telling me that, and the file never views/
> downloads.
>
> I figured I'd try the same but using an SMB prefix, but Safari
> doesn't like that ("Safari can’t open “smb://
> servernamegoeshere.mit.edu/RDFileserver/Computer%20Support/Computing
> %20Templates/Contact%20Report%20Templates/contact-report.pdf”
> because Mac OS X doesn’t recognize Internet addresses starting with
> “smb:”.").
>
> Firefox does not recognize afp:// as a valid prefix (so much that
> it won't display it as a clickable link), and when I use an smb://
> prefix, the link becomes clickable, but then I get a nasty dialog
> box with some error about smb not being a recognized protocol.
>
>
> Yes, I realize I could enable web services on my fileserver, but I
> don't want to have to do that. AFP works just fine, and I don't
> want to add another interface for portscanners to hit me on (and
> fill up my logs).
>
> Does anyone have any suggestions for how I can make afp and/or smb
> resources available through html?
>
> thanks!
>
> --Helen
>
More information about the Macpartners
mailing list