Re: Converting an afp:NSURL to a filesystem path - or - Ya can't get there from here...
Re: Converting an afp:NSURL to a filesystem path - or - Ya can't get there from here...
- Subject: Re: Converting an afp:NSURL to a filesystem path - or - Ya can't get there from here...
- From: James Bucanek <email@hidden>
- Date: Mon, 19 Apr 2010 08:28:51 -0700
Kyle Sluder <mailto:email@hidden> wrote (Saturday, April 17, 2010 4:55 PM -0700):
> On Sat, Apr 17, 2010 at 4:46 PM, James Bucanek <email@hidden> wrote:
> > The path "/Dinah" is (obviously) invalid.
>
> Actually, it's annoyingly not invalid. Finder > Go To URL > "/Dinah"
> will actually work. It really stinks if you mount a volume named
> something like "Users"... >:(
I would not have thought to do that. :)
Nevertheless, what I'm really interested in is whether
[[NSFileManager defaultManager] attributesOfFileSystemForPath:@"/Dinah" error:NULL]
works, which it doesn't; it returns nil. And there's no equivalent URL-based API that I can find.
> Please add to the pile of bugs on this issue.
Will do.
--
James Bucanek
_______________________________________________
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