Brad Weber
2004-04-24 16:57:18 UTC
I saw a previous thread about automatically mounting an iDisk volume
from RB. The tips work as long as no user name or password are
required. The unix command for mounting a WebDAV server is
mount_webdav. I've read the man page for the command over and over
again. If authentication is required, the command expects the
credentials from a file (or other input) in the following format:
<username length><user name><password length><password>
I've used RB to generate a file called wdauth.txt that is build by
populating a memory block with a long, string, long, and string. Then,
I try to mount the webdav server with the following command:
cat wdauth.txt | mount_webdav -a0 http://webdav.example.com/
/Volumes/webdav.example.com/
I believe the -a0 option should take its credential input from standard
input. I use mkdir to create the /Volumes/webdav.example.com/ directory
prior to the mount_webdav call.
After the call, I see the following output in the Terminal:
kextload: /System/Library/Extensions/webdav_fs.kext loaded successfully
However, the volume does not mount on the desktop. And, attempts to
access its contents by changing directories into it results in the
following error:
cd: could not get current directory: getcwd: cannot access parent
directories: Input/output error
I realize that none of these are RB issues (unless I'm generating the
credentials file in error from RB). But, I'd still appreciate any help
this community might provide. I've exhausted the Google resources on
the mount_webdav command.
Brad Weber
FlatTop Technology, Inc.
---
Custom Software Solutions
http://www.FlatTopTechnology.com
Ph. 303.635.8055
Fax 303.635.1845
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
from RB. The tips work as long as no user name or password are
required. The unix command for mounting a WebDAV server is
mount_webdav. I've read the man page for the command over and over
again. If authentication is required, the command expects the
credentials from a file (or other input) in the following format:
<username length><user name><password length><password>
I've used RB to generate a file called wdauth.txt that is build by
populating a memory block with a long, string, long, and string. Then,
I try to mount the webdav server with the following command:
cat wdauth.txt | mount_webdav -a0 http://webdav.example.com/
/Volumes/webdav.example.com/
I believe the -a0 option should take its credential input from standard
input. I use mkdir to create the /Volumes/webdav.example.com/ directory
prior to the mount_webdav call.
After the call, I see the following output in the Terminal:
kextload: /System/Library/Extensions/webdav_fs.kext loaded successfully
However, the volume does not mount on the desktop. And, attempts to
access its contents by changing directories into it results in the
following error:
cd: could not get current directory: getcwd: cannot access parent
directories: Input/output error
I realize that none of these are RB issues (unless I'm generating the
credentials file in error from RB). But, I'd still appreciate any help
this community might provide. I've exhausted the Google resources on
the mount_webdav command.
Brad Weber
FlatTop Technology, Inc.
---
Custom Software Solutions
http://www.FlatTopTechnology.com
Ph. 303.635.8055
Fax 303.635.1845
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>