mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
add section on how to use cadave with seeddms
This commit is contained in:
parent
2372cb8d09
commit
f1904ed7e4
|
@ -53,7 +53,7 @@ and possibly add your login data to /etc/davfs2/secrets
|
||||||
Making applications work with WebDAV
|
Making applications work with WebDAV
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
Various programms have differnt strategies to save files to disk and
|
Various programms have differnt strategies to save files to disc and
|
||||||
prevent data lost under all circumstances. Those strategies often don't
|
prevent data lost under all circumstances. Those strategies often don't
|
||||||
work very well an a WebDAV-Server. The following will list some of those
|
work very well an a WebDAV-Server. The following will list some of those
|
||||||
strategies.
|
strategies.
|
||||||
|
@ -91,3 +91,39 @@ set noswapfile
|
||||||
Creating the backup file in a directory outside of WebDAV doesn't help in
|
Creating the backup file in a directory outside of WebDAV doesn't help in
|
||||||
this case, because it still does the file renaming which is turned of by
|
this case, because it still does the file renaming which is turned of by
|
||||||
'nowritebackup'.
|
'nowritebackup'.
|
||||||
|
|
||||||
|
cdaver
|
||||||
|
========
|
||||||
|
|
||||||
|
cadaver is a webdav client similar to classical command line based ftp clients.
|
||||||
|
It can be used to browse through the folders, downloads and uploads files, and
|
||||||
|
also for removing and moving folders and documents (called resources in webdav terminilogy).
|
||||||
|
It's also capable of setting and getting properties of folders and documents.
|
||||||
|
If webdav access isn't working, this client is probably the best for testing.
|
||||||
|
|
||||||
|
Just run
|
||||||
|
|
||||||
|
cadaver https://<your-domain>/<your-basedir>/webdav/index.php
|
||||||
|
|
||||||
|
It will ask for the user name and password. Once you are logged in just
|
||||||
|
type `help` for a list of commands.
|
||||||
|
|
||||||
|
SeedDMS stores a lot more properties not covered by the webdav standard.
|
||||||
|
Those have its own namespace called 'SeedDMS:'. Just type
|
||||||
|
|
||||||
|
propget <resource>
|
||||||
|
|
||||||
|
with `resource` being either the name of a folder or document. You will
|
||||||
|
get a list of all properties stored for this resource. Setting a property
|
||||||
|
requires to set the namespace first
|
||||||
|
|
||||||
|
set namespace SeedDMS:
|
||||||
|
|
||||||
|
Afterwards, you may set a property, e.g. the comment, with
|
||||||
|
|
||||||
|
propset <resource> comment 'Just a comment'
|
||||||
|
|
||||||
|
or even delete a property
|
||||||
|
|
||||||
|
propdel <resource> comment
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user