A command-line webdav client for unix.
cadaver [-trp[-r file][-p host[:port]]][-V][-h] http://hostname[:port]/path
cadaver supports file upload, download, on-screen display, namespace operations (move and copy), collection creation and deletion, and locking operations.
Its operation is similar to the standard BSD ftp(1) client and the Samba Project's smbclient(1). A user familiar with these tools should be quite comfortable with cadaver.
cadaver supports automatically logging in to servers requiring authentication via a .netrc file (similar to ftp(1) - see section "THE .netrc FILE" below).
Allow cd/open into non-WebDAV enabled collection; use if the server or proxy server has WebDAV compliance problems.
Use this rcfile rather than the default of ~/.cadaverrc
Connect using the proxy host "host" and optional proxy port "port".
Display version information and exit.
Display this help message and exit.
List contents of current [or other] collection
Change to specified collection
Display name of current collection
Upload local file
Download remote resource
Download many remote resources
Upload many local files
Edit given resource
Display remote resource through pager
Create remote collection(s)
Display remote resource(s)
Delete non-collection resource(s)
Delete remote collections and ALL contents
Copy resource(s) from source to dest
Move resource(s) from source to dest
Lock given resource
Unlock given resource
Display lock information for resource
Steal lock token for resource
Display list of owned locks
Names of properties defined on resource
Change isexecutable property of resource
Retrieve properties of resource
Set property on resource
Set an option, or display options
Open connection to given URL
Close current connection
Exit program
Unsets or clears value from option.
Change local working directory
Display local directory listing
Print local working directory
Logout of authentication session
Display help message
The file ~/.netrc may be used to automatically login to a server requiring authentication. The following tokens (separated by spaces, tabs or newlines) may be used:
machine host
Identify a remote machine host which is compared with the hostname given on the command line or as an argument to the open command. Any subsequent tokens up to the end of file or the next machine or default token are associated with this entry.
default
This is equivalent to the machine token but matches any hostname. Only one default token may be used and it must be after all machine tokens.
login username
Specifies the username to use when logging in to the remote machine.
password string
passwd string
Specifies the password to use when logging in to the remote machine.
Any other tokens (as described in ftp(1)) are ignored.
Connects to the server myserver.example.com, opening the root collection.
Connects to the server zope.example.com using port 8022, opening the collection "/Users/fred/".
Connects to a server called secure.example.com using SSL.
Individual user settings that can override cadaver defaults and to script cadaver. Can be changed by the "--rcfile" option.
Login and initialization information used by the auto-login process. See section "THE .netrc FILE" for details.
Joe Orton <[email protected]>
ftp(1), smbclient(1)