does anyone know the URI-scheme that'd be best to use so that, when
opened, a connection to a web-dav server is made through the
finder? I know webdav is an extension of http so http can be
inserted in the connect-to-server finder dialog but I would like
java applets or web- browser to be giving such URLs.
An applet would have to be signed, because it has to exec() an
external command.
Here are some notes I made when I was investigating automatic
mounting of a .Mac iDisk, about a year ago. It's probably different
now with the me.com service name change. I think I also tried these
with https as the protocol, but I can't find that in my notes. It
won't be hard to test it, though.
------------
From AppleScript
osascript -e 'tell app "Finder" to mount volume "http://idisk.mac.com/
yournamehere/" as user name "yournamehere" with password "yourpassword"'
mkdir -p /Users/Shared/idisk501
ls -la /Users/Shared/idisk501
umount /Users/Shared/idisk501
mkdir -p /Users/Shared/.501/idisk
mount_webdav http://idisk.mac.com/yournamehere/ /Users/Shared/idisk501
.. the target (mount-point) dir must exist..
.. an interactive authentication dialog will be presented if not
logged in..
.. volume is case-sensitive..
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden