1cadaver(1)                       User Manuals                       cadaver(1)
2
3
4

NAME

6       cadaver - A command-line WebDAV client for Unix.
7

SYNOPSIS

9       cadaver [-et][-V][-h] http://hostname[:port]/path
10

DESCRIPTION

12       cadaver  supports  file  upload, download, on-screen display, namespace
13       operations (move and copy), collection creation and deletion, and lock‐
14       ing operations.
15
16       Its  operation  is  similar  to  the standard BSD ftp(1) client and the
17       Samba Project's smbclient(1).  A user familiar with these tools  should
18       be quite comfortable with cadaver.
19
20       cadaver  supports automatically logging in to servers requiring authen‐
21       tication via a .netrc file (similar to ftp(1) - see section "THE .netrc
22       FILE" below).
23

OPTIONS

25       -e, --expect100
26              Enable sending of `Expect: 100-continue' header.
27
28       -t, --tolerant
29              Allow  cd/open  into  non-WebDAV  enabled collection; use if the
30              server or proxy server has WebDAV compliance problems.
31
32       -V, --version
33              Display version information and exit.
34
35       -h, --help
36              Display this help message and exit.
37

COMMAND REFERENCE

39       ls [path]
40              List contents of current [or other] collection
41
42       cd path
43              Change to specified collection
44
45       pwd    Display name of current collection
46
47       put local [remote]
48              Upload local file
49
50       get remote [local]
51              Download remote resource
52
53       mget remote...
54              Download many remote resources
55
56       mput local...
57              Upload many local files
58
59       edit resource
60              Edit given resource
61
62       less remote...
63              Display remote resource through pager
64
65       mkcol remote...
66              Create remote collection(s)
67
68       cat remote...
69              Display remote resource(s)
70
71       delete remote...
72              Delete non-collection resource(s)
73
74       rmcol remote...
75              Delete remote collections and ALL contents
76
77       copy source... dest
78              Copy resource(s) from source to dest
79
80       move source... dest
81              Move resource(s) from source to dest
82
83       lock resource
84              Lock given resource
85
86       unlock resource
87              Unlock given resource
88
89       discover resource
90              Display lock information for resource
91
92       steal resource
93              Steal lock token for resource
94
95       showlocks
96              Display list of owned locks
97
98       propnames res
99              Names of properties defined on resource
100
101       chexec [+|-] remote
102              Change isexecutable property of resource
103
104       propget res [propname]
105              Retrieve properties of resource
106
107       propset res propname value
108              Set property on resource
109
110       set [option] [value]
111              Set an option, or display options
112
113       open URL
114              Open connection to given URL
115
116       close  Close current connection
117
118       quit   Exit program
119
120       unset [option] [value]
121              Unsets or clears value from option.
122
123       lcd [directory]
124              Change local working directory
125
126       lls [options]
127              Display local directory listing
128
129       lpwd   Print local working directory
130
131       logout Logout of authentication session
132
133       help [command]
134              Display help message
135

THE .netrc FILE

137       The file ~/.netrc may be  used  to  automatically  login  to  a  server
138       requiring  authentication.  The  following tokens (separated by spaces,
139       tabs or newlines) may be used:
140
141       machine host
142              Identify a remote machine host which is compared with the  host‐
143              name  given  on  the  command line or as an argument to the open
144              command.  Any subsequent tokens up to the end  of  file  or  the
145              next machine or default token are associated with this entry.
146
147       default
148              This  is  equivalent  to the machine token but matches any host‐
149              name. Only one default token may be used and it  must  be  after
150              all machine tokens.
151
152       login username
153              Specifies  the  username  to  use  when logging in to the remote
154              machine.
155
156       password string
157       passwd string
158              Specifies the password to use when  logging  in  to  the  remote
159              machine.
160
161       Any other tokens (as described in ftp(1)) are ignored.
162

EXAMPLES

164       cadaver http://dav.example.com/
165              Connects  to  the  server myserver.example.com, opening the root
166              collection.
167
168       cadaver http://zope.example.com:8022/Users/fred/
169              Connects to the server zope.example.com using port 8022, opening
170              the collection "/Users/fred/".
171
172       cadaver https://secure.example.com/
173              Connects to a server called secure.example.com using SSL.
174

FILES

176       ~/.cadaverrc
177              Individual user settings that can override cadaver defaults.
178
179       ~/.netrc
180              Login  and  initialization  information  used  by the auto-login
181              process. See section "THE .netrc FILE" for details.
182

AUTHOR

184       Joe Orton <cadaver@webdav.org>
185

SEE ALSO

187       ftp(1), smbclient(1)
188
189
190
191
192Unix                             January 2002                       cadaver(1)
Impressum