docs/html/getting-started.html

changeset 282
3070d72f54af
parent 273
c743721d566f
child 283
0e36bb75a732
equal deleted inserted replaced
281:ddb5e8f2a43d 282:3070d72f54af
66 <div class="content"> 66 <div class="content">
67 <h1 id="getting-started">Getting started</h1> 67 <h1 id="getting-started">Getting started</h1>
68 <h3 id="test">Test</h3> 68 <h3 id="test">Test</h3>
69 <p>After successful installation you can test dav with your WebDAV server.</p> 69 <p>After successful installation you can test dav with your WebDAV server.</p>
70 <pre><code>dav list http://example.com/webdav/</code></pre> 70 <pre><code>dav list http://example.com/webdav/</code></pre>
71 <p>This lists all child resources of the specified collection. If you are unfamiliar to WebDAV terminology this means basically listing all files in a directory, similar to the ls unix tool. Infact you can also write dav ls instead of dav list and there is also a -l option like ls has one.</p> 71 <p>This lists all child resources of the specified collection. If you are unfamiliar to WebDAV terminology this means basically listing all files in a directory, similar to the ls unix tool. Actually you can also write <code>dav ls</code> instead of <code>dav list</code> and there is also an <code>-l</code> option similarly to the unix tool <code>ls</code>.</p>
72 <h3 id="create-a-repository">Create a repository</h3> 72 <h3 id="create-a-repository">Create a repository</h3>
73 <p>All dav commands are expecting a url argument, but it may be a bit cumbersome to type a full url every time. But you can configure a repository in the dav configuration file ($HOME/.dav/config.xml) with the servers url, optional authentication information and other options. After that you can access a webdav server just with the repository name and an optional path.</p> 73 <p>All dav commands are expecting an url argument, but it may be a bit cumbersome to type a full url every time. But you can configure a repository in the dav configuration file ($HOME/.dav/config.xml) with the servers url, optional authentication information and other options. Afterwards you can access a webdav server just with the repository name and an optional path.</p>
74 <p>So when you have created a repository with the name myserv and the url http://example.com/webdav/, you can just type</p> 74 <p>So when you have created a repository with the name myserv and the url http://example.com/webdav/, you can just type</p>
75 <pre><code>dav list myserv</code></pre> 75 <pre><code>dav list myserv</code></pre>
76 <p>You can add a path to the repository name to access an other url</p> 76 <p>You can add a path to the repository name to access an other url</p>
77 <pre><code>dav list myserv/mycollection/</code></pre> 77 <pre><code>dav list myserv/mycollection/</code></pre>
78 <p>This lists the content of http://example.com/webdav/mycollection/</p> 78 <p>This lists the content of http://example.com/webdav/mycollection/</p>

mercurial