mount_webdav man page on Darwin

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
Darwin logo
[printable version]

MOUNT_WEBDAV(8)		  BSD 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	     Require that authentication credentials be sent securely to the
	     server.  Note: If this option is not set, sending authentication
	     credentials insecurely to the server will be allowed but will be

     -S	     Suppresses all user interface including the authentication
	     dialogs and the non-responsive ("disconnect") server dialogs. If
	     the server connection becomes non-responsive, the file system is
	     immediately unmounted when this option has been used.

     -i	     Interactive mode, you are prompted for the username and password.

     -o	     Options passed to mount(2) are specified with the -o option fol‐
	     lowed 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_name
	     Allows the volume_name attribute (ATTR_VOL_NAME) returned by
	     getattrlist(2) to be specified. If the volume_name is not speci‐
	     fied, the last path component name of the node path is used as
	     the volume_name.

	     The WebDAV-enabled server directory (collection resource) to
	     mount as a volume.	 The scheme, if specified, must be "http://"
	     or "https://". If the scheme is not specified, then "http://" is
	     used.  If the port is not specified, then port 80 is used when
	     the scheme is "http://" or port 443 is used when the scheme is
	     "https://".  If the path is not specified, then the path "/" is

     node    Path to mount point. Note: The mount point directory must be cre‐
	     ated or exist before issuing the mount_webdav command.

     The following example illustrates how to mount the WebDAV-enabled server
     directory at the mount point
     /Volumes/mntpnt/.	Note: The mountpoint directory /Volumes/mntpnt/ must
     be created before issuing the mount_webdav command.

	   mount_webdav /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

     0			mount_webdav successfully mounted the server direc‐

     [ENOENT]		The server directory could not be mounted by
			mount_webdav because the node path is invalid.

     [ENODEV]		The server directory could not be mounted by
			mount_webdav because it is not WebDAV-enabled or
			because it does not exist, or because node does not
			have proper access.

     [ECANCELED]	The server directory could not be mounted by
			mount_webdav because the user did not provide proper
			authentication credentials.

     As noted above, the -afd option is considered deprecated in Mac OS X 10.4
     and may not be supported in future releases. Use the FSMountServerVol‐
     umeSync() and FSMountServerVolumeAsync() APIs in CarbonCore/Files.h

     mount(2), unmount(2), mount(8) getattrlist(2)

     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 authentica‐
     tion methods and proxies supported by the CFNetwork framework were added
     in Mac OS X Version 10.4.

Mac OS X		       October 27, 2008			      Mac OS X

List of man pages available for Darwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net