diff -r 3070d72f54af -r 0e36bb75a732 docs/html/put.html --- a/docs/html/put.html Sat Aug 05 13:35:27 2017 +0200 +++ b/docs/html/put.html Sun Aug 06 14:41:20 2017 +0200 @@ -4,7 +4,7 @@ - + dav put @@ -64,7 +64,9 @@
-

dav put

+

put [-pcR] [-k <key>] [-L <lock>] <url> <file>

Uploads a file or a directory. When uploading a file while the url points to an existing collection, a resource inside this collection with the file's name is created. When the url points to a non-existing resource, the resource is created.

When uploading a directory, you need to specify the -R option. It uploads all files in the directory to the specified url, but it does not create a collection for the directory itself. You may use dav mkdir to create this collection beforehand.