UNCs to network shares, using for file ops
UNCs to network shares, using for file ops
- Subject: UNCs to network shares, using for file ops
- From: Dave Hersey <email@hidden>
- Date: Thu, 12 May 2005 02:17:51 -0400
Hi,
I could use some advice on how to approach the following.
I need a way to select and remember (Samba) network shares and yse those
references for file operations when the shares are mounted. I thought
there'd be a way to do this with NSURL, NSFileManager, etc. but it doesn't
look like it. I could do something with the Alias Manager, but it feels like
there should be a more modern approach to this via something like
NSOpenPanel and URLs.
Specifically, here's what I need to do:
- Select available networked samba volumes (the spec calls for users to
manually enter a UNC, but certainly having a browser would be better). Since
this is only to get some sort of resource locator (UNC, alias, FSRef...) for
the network share, this feels like overkill for Bonjour...
- Use the resource locator from above to tell if the volume is mounted, get
a system path to it for file operations and be able to mount and unmount the
volume. If authentication is required for mounting, that should be able to
happen automatically via the user's keychain or the app authenticating.
All of this needs to work back to at least 10.2.
Any suggestions?
Thanks,
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden