Mario, That looks a bit too scary for the command line: try this: http://stackoverflow.com/questions/6408904/send-post-request-with-data-specified-in-file-via-curl
Best regards, Clay Ferguson [email protected] On Mon, Mar 6, 2017 at 3:04 PM, Mario Danic <[email protected]> wrote: > Sorry, but it looks like I’ll have many questions over the coming days… > > curl -u username:pass -X REPORT http://xyz/nextcloud/remote. > php/dav/files/mario/ --data '<?xml version="1.0" > encoding="UTF-8"?><oc:filter-files xmlns:oc="http://owncloud.org/ns > "><oc:filter-rules><oc:favorite>1</oc:favorite></oc:filter-rules><D:prop > xmlns:D="DAV:"><D:resourcetype/><favorite > xmlns="http://owncloud.org/ns"/><D:getlastmodified/><size > xmlns="http://owncloud.org/ns"/><D:creationdate/><id xmlns=" > http://owncloud.org/ns"/><D:getcontentlength/><D:displayname/><D:quota- > available-bytes/><D:getetag/><permissions xmlns="http://owncloud.org/ns" > /><D:quota-used-bytes/><D:getcontenttype/></D:prop></oc:filter-files>’ > > This returns all properties properly. This query was extracted from what > I’ve written in Java using Jackrabbit Webdav. > > Unfortunately when using Jackrabbit Webdav, I get only HREF, and all > properties are missing. > > Any ideas? > > Cheers, > Mario > > >
