Am 04.08.2010 um 15:10 schrieb Mark Fleming: > Here is what I use for: > - detecting WebDAV Volumes... can change the -t to afp to list AFP volumes. > - for mounting and unmounting WebDAV volumes.
<...> Thanks Mark. I have found an even easier way to reach my goal: NSWorkspace *workspace = [NSWorkspace sharedWorkspace]; NSURL *server = [[NSURL alloc] initWithString: @"afp://LeoServer.local/Mailbackup"]; [workspace openURL: server]; If the user is not connected already, Finder asks for the password, mounts the folder and sends an NSWorkspaceDidMountNotification to the app. Knut _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
