Команды:
Код
Usage: dav command [options] arguments...
Commands:
list [-altdepcR] [-u <date>] <url>
get [-pcRK] [-o <file>] [-u <date>] [-V <version>] <url>
put [-pcR] [-k <key>] [-L <lock>] <url> <file...>
mkdir [-pc] [-k <key>] [-L <lock>] <url> [file...]
remove [-pc] [-L <lock>] <url> [file...]
copy [-pcO] [-L <lock>] <url> <url>
move [-pcO] [-L <lock>] <url> <url>
rename [-pcO] [-L <lock>] <url> <name>
export [-pc] [-o <file>] [-u <date>] <url>
import [-pc] [-k <key>] [-L <lock>] <url> <file>
get-property [-pcx] [-V <version>] [-n <uri>] <url> <property>
set-property [-pcx] [-L <lock>] [-n <uri>] <url> <property> [value]
remove-property [-pc] [-n <uri>] <url> <property>
lock [-pc] [-T timeout] <url>
unlock [-pc] [-L <lock>] <url>
info [-pc] [-V <version>] <url>
date [url]
Options:
-k <key> Key to use for encryption
-p Don't encrypt or decrypt files
-c Enable full encryption
-R Recursively do the operation for all children
-K Keep already present files
-o <file> Write output to file (use '-' for stdout)
-u <date> Get resources which are modified since the specified date
-V <version> Download a specific version of a resource
-a show all files
-l print resources in long list format
-t print content type
-d order by last modified date
-e show extended flags
-O override resources
-L <lock> specificy lock token
-T <sec> timeout in seconds
-n <uri> specify namespace uri
-x xml property content
-N disable authentication prompt (all commands)
-i disable cert verification (all commands)
-v verbose output (all commands)
Advanced commands:
versioncontrol list-versions checkout checkin uncheckout
Config commands:
add-repository remove-repository list-repositories repository-url
add-user remove-user edit-user list-users
check-config
Instead of an url you can pass a repository name with an optional path:
<repository>/path/
Примеры использования
получить каталог
Код
dav list http://192.168.0.170/test/FORTR.DSK.F11
скачать файл
Код
dav get http://192.168.0.164/test/10.td0
передать файл
Код
dav put http://192.168.0.164/ 10.td0
Скачать клиент
Нажмите для просмотра прикрепленного файла