Sun, 17 Dec 2023 15:33:50 +0100
fix faulty string to int conversion utilities
Probably it was expected that errno is set to EINVAL when illegal characters are encountered. But this is not standard and does not happen on every system, allowing illegal strings to be parsed as valid integers.
283
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
282
diff
changeset
|
1 | --- |
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
282
diff
changeset
|
2 | title: 'dav get' |
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
282
diff
changeset
|
3 | --- |
265
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
4 | |
701
0a48f17c729d
add documentation for dav versioning commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
407
diff
changeset
|
5 | **`dav get [-pcRK] [-o <file>] [-u <date>] [-V <version>] <url>`** |
265
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
6 | |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
7 | Downloads a resource. This command also downloads collections and its child resources when the **`-R`** option is used. |
265
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
8 | When downloading a single resource, the default local file name is the resource |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
9 | name. When downloading collections, it does **not** create a local directory with |
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
10 | the collection's name and places its children in there, but it downloads the |
265
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
11 | children directly to the current working directory. |
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
12 | |
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
13 | **`-p`** disable file name and content decryption. You get exactly what is stored |
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
14 | on the server. |
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
15 | |
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
16 | **`-c`** enable file name and content decryption |
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
17 | |
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
18 | **`-R`** download a collection |
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
19 | |
407
9505224d2fd2
adds documentation for new dav features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
20 | **`-K`** download only files that don't exist locally |
9505224d2fd2
adds documentation for new dav features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
21 | |
265
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
22 | **`-o <file>`** specify the local output file. A **-** indicates stdout |
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
23 | |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
266
diff
changeset
|
24 | **`-u <date>`** download only files which are modified since the specified date. Uses the HTTP date format |
265
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
25 | |
701
0a48f17c729d
add documentation for dav versioning commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
407
diff
changeset
|
26 | **`-V <version>`** downloads a specific version of the resource. Available versions can be listed with the *list-versions* command |
265
ee9e63c437c4
adds documentation for most dav commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff
changeset
|
27 | |
701
0a48f17c729d
add documentation for dav versioning commands
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
407
diff
changeset
|
28 |