Connecting to WebDAV folders (Windows WebFolders for example exported via Sharepoint)
Various coimments about WebDav connectivity:
* WebDav client is built-in to OS-X. Go to finder and "Connect to server" and then enter an address starting with http://.. for example (http://fs1/sites/cr/).
* Update 5/4: It seems like Sharepoint directories or files with space in filename are NOT accessible..
Autostart:
The applescript is just the one line
do shell script "/Users/myname/path-to/idiskauto.sh"
Save that as an application and add that to the things run at login by the login pref pane.
The idiskauto.sh looks like:
#!/bin/sh
sudo rmdir /Volumes/iDisk
mkdir /Volumes/iDisk
cat /Users/myname/idiskunpw | /sbin/mount_webdav -a 0 http://idisk.mac.com/myiToolslogin /Volumes/iDisk
the idiskunpw is the thing with the length/name/password stuff.
o make this automatic, you need to manually create the mount directory, then you need to feed mount_webdav your username and password in the form it wants. The format of the username/password is a pair of 4 byte length - characters structure. For example, if my username is xyz, and password is mypass, I must send:
^@^@^@^Cxyz^@^@^@^Fmypass
^@ is control-at, or a null - zero decimal, ^C is control-c or 3 decimal, etc. (in emacs, doing control-q control-c inserts a control-c, control-q control-space inserts a null). Once you have this in a file or coming out of a program, you can just do:
cat mypass | mount_webdav -a0 http://idisk.mac.com/xyz /Volumes/xyz
from (http://www.macosxhints.com/article.php?story=20020207214002198&query=mount_webdav)
* WebDav client is built-in to OS-X. Go to finder and "Connect to server" and then enter an address starting with http://.. for example (http://fs1/sites/cr/).
* Update 5/4: It seems like Sharepoint directories or files with space in filename are NOT accessible..
Autostart:
The applescript is just the one line
do shell script "/Users/myname/path-to/idiskauto.sh"
Save that as an application and add that to the things run at login by the login pref pane.
The idiskauto.sh looks like:
#!/bin/sh
sudo rmdir /Volumes/iDisk
mkdir /Volumes/iDisk
cat /Users/myname/idiskunpw | /sbin/mount_webdav -a 0 http://idisk.mac.com/myiToolslogin /Volumes/iDisk
the idiskunpw is the thing with the length/name/password stuff.
o make this automatic, you need to manually create the mount directory, then you need to feed mount_webdav your username and password in the form it wants. The format of the username/password is a pair of 4 byte length - characters structure. For example, if my username is xyz, and password is mypass, I must send:
^@^@^@^Cxyz^@^@^@^Fmypass
^@ is control-at, or a null - zero decimal, ^C is control-c or 3 decimal, etc. (in emacs, doing control-q control-c inserts a control-c, control-q control-space inserts a null). Once you have this in a file or coming out of a program, you can just do:
cat mypass | mount_webdav -a0 http://idisk.mac.com/xyz /Volumes/xyz
from (http://www.macosxhints.com/article.php?story=20020207214002198&query=mount_webdav)

