MOUNT_WEBDAV(8) | System Manager's Manual | MOUNT_WEBDAV(8) |
mount_webdav
—
mount a WebDAV filesystem
mount_webdav |
[-s ] [-S ]
[-i ] [-v
volume_name] [-o
options]
[scheme://]host[:port][/path]
node |
The mount_webdav
command mounts the
WebDAV-enabled server directory at
[scheme://]host[:port][/path] at the mount point
indicated by node.
The user and group IDs for all files and directories are set to unknown, and the permissions default to read, write and execute for user, group and other.
The arguments and options are:
-s
-S
-i
-o
-o
option followed by a comma-separated string of
options. See the mount(8) man page for possible options
and their meanings. If connecting to a Class 1 compliant WebDAV server,
the rdonly option will be set even if it was not specified because
mount_webdav will not allow files to be opened with write access on
servers which do not support the DAV LOCK method.-v
volume_namemount_webdav
command.The following example illustrates how to mount the WebDAV-enabled
server directory http://idisk.mac.com/membername/ at
the mount point /Volumes/mntpnt/. Note: The
mountpoint directory /Volumes/mntpnt/ must be
created before issuing the mount_webdav
command.
mount_webdav http://idisk.mac.com/membername/ /Volumes/mntpnt/
The mount_webdav
utility exits 0 on
success, and >0 if an error occurs. Here is a list of common
results (other error results not listed may be returned):
mount_webdav
successfully mounted the server
directory.ENOENT
]mount_webdav
because the node path is
invalid.ENODEV
]mount_webdav
because it is not WebDAV-enabled or
because it does not exist, or because node does not have proper
access.ECANCELED
]mount_webdav
because the user did not provide
proper authentication credentials.As noted above, the
-a
fd option is considered
deprecated in Mac OS X 10.4 and may not be supported in future releases. Use
the FSMountServerVolumeSync() and FSMountServerVolumeAsync() APIs in
CarbonCore/Files.h instead.
The mount_webdav
command first appeared
Mac OS X Version 10.0. Support for HTTP Digest Access authentication was
added in Mac OS X Version 10.1.1. Support for the https URL scheme, and for
additional authentication methods and proxies supported by the CFNetwork
framework were added in Mac OS X Version 10.4.
October 27, 2008 | Mac OS X |