Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mounting idisk?



I know it's futile to ask since I've combed all the lists and Googled everywhere, and I've found lots of other people asking this question, but no really good answers. Here goes anyway:

Can anyone explain how to programatically mount an iDisk using webdav (and here's the kicker) without requiring user input (i.e. without asking the user for a password)?

I already know how to get the user's iDisk id (user name) and password, and I have found rather elliptical references on how to generate a file containing these in the correct format and pass these to the mount_webdav command, but I still can't make this work, even in Terminal.

Frustratingly, some combinations that I've tried have put my machine in such a state that the Finder becomes totally inoperative, even to the point of not properly relaunching.

For example, the following is supposed to work but does not:

/bin/cat membernameandpssswordinfo | sbin/mount_webdav -a0 idisk.mac.com/membername/ /Volumes/membername/

where membernameandpssswordinfo is generated by the code given in the man page for mount_webdav (I commented out the call to unlink so that I can hang on to membernameandpssswordinfo).

Any pointers appreciated, concrete working code preferred.

_murat
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.