docs/html/put.html

changeset 283
0e36bb75a732
parent 282
3070d72f54af
child 285
02d3e4b1245f
equal deleted inserted replaced
282:3070d72f54af 283:0e36bb75a732
2 <html xmlns="http://www.w3.org/1999/xhtml"> 2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <meta http-equiv="Content-Style-Type" content="text/css" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" />
6 <meta name="generator" content="pandoc" /> 6 <meta name="generator" content="pandoc" />
7 <title></title> 7 <title>dav put</title>
8 <style type="text/css">code{white-space: pre;}</style> 8 <style type="text/css">code{white-space: pre;}</style>
9 <link rel="stylesheet" href="davdoc.css" type="text/css" /> 9 <link rel="stylesheet" href="davdoc.css" type="text/css" />
10 </head> 10 </head>
11 <body> 11 <body>
12 <div class="header"> 12 <div class="header">
62 </div> 62 </div>
63 </div> 63 </div>
64 64
65 <!-- begin content --> 65 <!-- begin content -->
66 <div class="content"> 66 <div class="content">
67 <h1 id="dav-put">dav put</h1> 67 <div id="header">
68 <h1 class="title">dav put</h1>
69 </div>
68 <p><strong><code>put [-pcR] [-k &lt;key&gt;] [-L &lt;lock&gt;] &lt;url&gt; &lt;file&gt;</code></strong></p> 70 <p><strong><code>put [-pcR] [-k &lt;key&gt;] [-L &lt;lock&gt;] &lt;url&gt; &lt;file&gt;</code></strong></p>
69 <p>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.</p> 71 <p>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.</p>
70 <p>When uploading a directory, you need to specify the <strong><code>-R</code></strong> 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 <a href="./mkdir.html">dav mkdir</a> to create this collection beforehand.</p> 72 <p>When uploading a directory, you need to specify the <strong><code>-R</code></strong> 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 <a href="./mkdir.html">dav mkdir</a> to create this collection beforehand.</p>
71 <p><strong><code>-p</code></strong> disable file name encryption and decryption</p> 73 <p><strong><code>-p</code></strong> disable file name encryption and decryption</p>
72 <p><strong><code>-c</code></strong> enable file name and content encryption</p> 74 <p><strong><code>-c</code></strong> enable file name and content encryption</p>

mercurial