docs/html/put.html

changeset 285
02d3e4b1245f
parent 283
0e36bb75a732
child 320
12ed560c926c
equal deleted inserted replaced
284:8e7ef0675946 285:02d3e4b1245f
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">
13 <span>davutils documentation</span> 13 <a href="./index.html"><span>DavUtils documentation</span></a>
14 </div> 14 </div>
15 <div class="sidebar"> 15 <div class="sidebar">
16 <div class="nav"> 16 <div class="nav">
17 <h3>dav</h3> 17 <h3>dav</h3>
18 <ul> 18 <ul>
65 <!-- begin content --> 65 <!-- begin content -->
66 <div class="content"> 66 <div class="content">
67 <div id="header"> 67 <div id="header">
68 <h1 class="title">dav put</h1> 68 <h1 class="title">dav put</h1>
69 </div> 69 </div>
70 <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>dav put [-pcR] [-k &lt;key&gt;] [-L &lt;lock&gt;] &lt;url&gt; &lt;file&gt;</code></strong></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> 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>
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> 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>
73 <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>
74 <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>
75 <p><strong><code>-R</code></strong> upload directory</p> 75 <p><strong><code>-R</code></strong> upload directory</p>

mercurial