1cadaver(1) User Manuals cadaver(1)
2
3
4
6 cadaver - A command-line WebDAV client for Unix.
7
9 cadaver [-trp[-r file][-p host[:port]]][-V][-h] http://host‐
10 name[:port]/path
11
13 cadaver supports file upload, download, on-screen display, namespace
14 operations (move and copy), collection creation and deletion, and lock‐
15 ing operations.
16
17 Its operation is similar to the standard BSD ftp(1) client and the
18 Samba Project's smbclient(1). A user familiar with these tools should
19 be quite comfortable with cadaver.
20
21 cadaver supports automatically logging in to servers requiring authen‐
22 tication via a .netrc file (similar to ftp(1) - see section "THE .netrc
23 FILE" below).
24
26 -t, --tolerant
27 Allow cd/open into non-WebDAV enabled collection; use if the
28 server or proxy server has WebDAV compliance problems.
29
30 -r, --rcfile=file
31 Use this rcfile rather than the default of ~/.cadaverrc
32
33 -p, --proxy=host[:port]
34 Connect using the proxy host "host" and optional proxy port
35 "port".
36
37 -V, --version
38 Display version information and exit.
39
40 -h, --help
41 Display this help message and exit.
42
44 ls [path]
45 List contents of current [or other] collection
46
47 cd path
48 Change to specified collection
49
50 pwd Display name of current collection
51
52 put local [remote]
53 Upload local file
54
55 get remote [local]
56 Download remote resource
57
58 mget remote...
59 Download many remote resources
60
61 mput local...
62 Upload many local files
63
64 edit resource
65 Edit given resource
66
67 less remote...
68 Display remote resource through pager
69
70 mkcol remote...
71 Create remote collection(s)
72
73 cat remote...
74 Display remote resource(s)
75
76 delete remote...
77 Delete non-collection resource(s)
78
79 rmcol remote...
80 Delete remote collections and ALL contents
81
82 copy source... dest
83 Copy resource(s) from source to dest
84
85 move source... dest
86 Move resource(s) from source to dest
87
88 lock resource
89 Lock given resource
90
91 unlock resource
92 Unlock given resource
93
94 discover resource
95 Display lock information for resource
96
97 steal resource
98 Steal lock token for resource
99
100 showlocks
101 Display list of owned locks
102
103 propnames res
104 Names of properties defined on resource
105
106 chexec [+|-] remote
107 Change isexecutable property of resource
108
109 propget res [propname]
110 Retrieve properties of resource
111
112 propset res propname value
113 Set property on resource
114
115 set [option] [value]
116 Set an option, or display options
117
118 open URL
119 Open connection to given URL
120
121 close Close current connection
122
123 quit Exit program
124
125 unset [option] [value]
126 Unsets or clears value from option.
127
128 lcd [directory]
129 Change local working directory
130
131 lls [options]
132 Display local directory listing
133
134 lpwd Print local working directory
135
136 logout Logout of authentication session
137
138 help [command]
139 Display help message
140
142 The file ~/.netrc may be used to automatically login to a server re‐
143 quiring authentication. The following tokens (separated by spaces, tabs
144 or newlines) may be used:
145
146 machine host
147 Identify a remote machine host which is compared with the host‐
148 name given on the command line or as an argument to the open
149 command. Any subsequent tokens up to the end of file or the
150 next machine or default token are associated with this entry.
151
152 default
153 This is equivalent to the machine token but matches any host‐
154 name. Only one default token may be used and it must be after
155 all machine tokens.
156
157 login username
158 Specifies the username to use when logging in to the remote ma‐
159 chine.
160
161 password string
162 passwd string
163 Specifies the password to use when logging in to the remote ma‐
164 chine.
165
166 Any other tokens (as described in ftp(1)) are ignored.
167
169 cadaver http://dav.example.com/
170 Connects to the server myserver.example.com, opening the root
171 collection.
172
173 cadaver http://zope.example.com:8022/Users/fred/
174 Connects to the server zope.example.com using port 8022, opening
175 the collection "/Users/fred/".
176
177 cadaver https://secure.example.com/
178 Connects to a server called secure.example.com using SSL.
179
181 ~/.cadaverrc
182 Individual user settings that can override cadaver defaults and
183 to script cadaver. Can be changed by the "--rcfile" option.
184
185 ~/.netrc
186 Login and initialization information used by the auto-login
187 process. See section "THE .netrc FILE" for details.
188
190 Joe Orton <https://github.com/notroj/cadaver>
191
193 ftp(1), smbclient(1)
194
195
196
197
198Unix October 2022 cadaver(1)