davutil
various WebDAV utilities
Overview
davutil: various WebDAV utilities
Documentation
Documentation is available on the ControlTier Wiki: Utility Type Guide - davutil
Design
- Super Type
- Managed-Entity
Role | Abstract. (Objects cannot be created.) |
Instance Names | Unique |
Notification | false |
Template Directory | |
Data View | Children, proximity: 1 |
Logger Name | davutil |
Constraints
None
Attributes
Defaults for Imported Attributes
Name | Default | Description |
---|---|---|
password | ${framework.webdav.password} | DAV password |
username | ${framework.webdav.username} | DAV username |
Commands
Authentication
To access resources maintained in the WebDAV repository it is often necessary to authenticate first. All the davutil commands support two parameters, -username and -password, that let you specify the login information. These parameters are not required and actually default to settings in the CTL [[framework.properties]] configuration file:
- framework.webdav.username
- framework.webdav.password
To specify arbritary username/password values use the following form:
ctl -m davutil -c <command> -- -username user -password pass <command-args>
dav:// prefix
The davutil commands all require URL parameters to point to the specific DAV URLs to act upon. All of these parameters allow the dav:// shortcut schema to be used in place of the full DAV root URL used by the ControlTier webdav server.
For example this URL:
http://strongbad:8080/jackrabbit/repository/workbench/junk/fun
Can be shortened to:
dav://junk/fun
View the available commands in the User Reference.