Re: AFP Shares
Re: AFP Shares
- Subject: Re: AFP Shares
- From: Nick Beadman <email@hidden>
- Date: Mon, 12 Mar 2007 14:22:24 -0700
Mike
I just went through this myself. The call you are looking for is:
FSMountServerVolumeSyncCompat declared in Files.h and implemented in
CoreServices.framework, it is even documented in the Xcode help.
Just start the URL afp:// and you are all set.
Nick
On Mar 12, 2007, at 1:59 pm, Mike Gargano wrote:
Hey,
Does anyone know how to mount AFP shares programmatically? The
calls to AFPCreateSharedVolumesEnumerator and AFPMountSharedVolume
seem to hang on Intel machines. According to the documentation it
looks like these API calls are from the OS 8 days and the technical
note on them hasn't been touched since 1999, so I'm guessing
they're deprecated or something. I saw some newer documents using
FPGetSrvrInfo() and FPLogin() and they look like what I need, but
the documentation contains no examples and there is no reference to
what framework or library they are contained in so I don't know how
to link them in or what their prototypes are. Any help would be
greatly appreciated, I'm down to using an applescript, yuck!
-Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >AFP Shares (From: Mike Gargano <email@hidden>) |