If you want to do this programatically have a look on these snippets: https://doc.owncloud.com/server/user_manual/files/access_webdav.html#accessing-files-using-curl
If you are using some programming language use their WebDAV library to get your commands run.