Mount afp volume
Mount afp volume
- Subject: Mount afp volume
- From: "gMail.com" <email@hidden>
- Date: Fri, 27 Nov 2009 13:40:01 +0100
- Thread-topic: Mount afp volume
Hi,
I use to mount a volume with the old API
FSMountServerVolumeSync
and it works well. My question is, should I use a Cocoa version of this API?
If so, which one?
Also, in my "very old" code, before I call this API, I use to Ping the host.
I can't recall why I Ping the host before this calling
FSMountServerVolumeSync but I suppose I did so because this API, in case of
error, hanged or crashed... cannot really recall why. The problem is that
PingHost on a particular host today returns an error, and it shouldn't,
while this API returns noErr. So I would like to eliminate PingHost from my
code. Am I doing right?
The best should be a safe Cocoa API. Do you know an API which works with
afp, webdav, smb, local volumes and dmg...?
--
Leonardo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden