Re: Host name of remote volume
Re: Host name of remote volume
- Subject: Re: Host name of remote volume
- From: Marc Krochmal <email@hidden>
- Date: Wed, 13 Jul 2005 10:37:29 -0700
Hi Lorenzo,
On Jul 13, 2005, at 8:15 AM, Lorenzo wrote:
Hi,
I pose my previous question in a better way:
I have mounted a remote volume on my local desktop. How to get the
info in
order to mount it later with the unix command "mount" (or
mount_afp, ...)?
I would like to get a string like
afp://PowerBook.local/VolumeName
or
smb://whats@dell/VolumeName
or
http://idisk.mac.com/username/
I have been using in the past statfs(cPath, &buf); and GetAliasInfo
but now they don't work longer in the same old way in case of afp
volumes or
webdav volumes.
Have a look at FSCopyURLForVolume() in Files.h
Best Regards,
-Marc
_______________________________________________
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