Hi All I am newbie to cocoa. I need to mount a volume from my custom browser. I have used FSMountServerVolumeSync to mount the volume and it works fine for success cases. But I need to show the error message if it fails. Looks like FSMountServerVolumeSync won't return proper error codes. ex: if I try to mount a afp volume (by giving valid input of a smb server), then authentication failed error code is returned instead of ioErr. Also some times the volume get mounted if no/invalid user name or password is provided. This is the case when Read/Write is given for shared folder(everyone). I have tried mount_smbfs terminal command that gives proper errors for invalid inputs. But this command won't return proper error codes instead it displays error messages. Please let me know if there is a way to get the error codes out of these error messages. As I need to show the localized error messages. OS puts up proper error message, any idea how this is done. Is there any Cocoa APIs to mount a remote volume. or at least check if the remote volume is reachable. Thanks in Advance Steve
-------------------------------------------------------------- Ovi Store: Fresh apps and more http://store.ovi.com/?cid=ovistore-fw-bac-na-acq-na-ovimail-g0-na-4 _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com