docs/src/get-property.md

changeset 282
3070d72f54af
parent 265
ee9e63c437c4
child 283
0e36bb75a732
equal deleted inserted replaced
281:ddb5e8f2a43d 282:3070d72f54af
1 dav get-property 1 dav get-property
2 ================ 2 ================
3 3
4 **`get-property [-pc] [-n <uri>] <url> <property>`** 4 **`get-property [-pc] [-n <uri>] <url> <property>`**
5 5
6 Gets a specified resource property. Every WebDAV property has a name and an XMl namespace. A namespace can be specified with the `-n` option or with a prefixed name. A prefix and property name are separated by an **:** 6 Gets a specific resource property. Every WebDAV property has a name and an XML namespace. A namespace can be specified with the `-n` option or with a prefixed name. The prefix and property name are separated by a **:** as usual.
7 7
8 Example: `D:creationdate` 8 Example: `D:creationdate`
9 9
10 `D` is the prefix, `creationdate` is the name. 10 `D` is the prefix, `creationdate` is the name.
11 11
12 There are only two available prefixes: 12 There are only two available prefixes by default:
13 13
14 1. `D` for the `DAV:` namespace 14 1. `D` for the `DAV:` namespace
15 2. `idav` for `http://davutils.org/` 15 2. `idav` for `http://davutils.org/`
16 16
17 To use an other namespace, use the `-n` option. 17 To use another namespace, use the `-n` option.
18 18
19 If the property name has no prefix, and no namespace is specified, the default namespace `DAV:` is used. 19 If the property name has no prefix, and no namespace is specified, the default namespace `DAV:` is used.
20 20
21 **`-p`** disable file name and path decryption if enabled 21 **`-p`** disable file name and path decryption if enabled
22 22

mercurial