If I share access to a folder using a (temporary) link, anyone who knows the link and a password can upload files to that folder using the webinterface.
How can I script an upload to an owncloud folder that is shared via link?
For a regular user of the server, who has access to the webdav interface, the question is answered in Uploading files to an owncloud server programatically.
My actual use case is to upload build artifacts from a jenkins job. I do not want to use my own user account for security reasons, nor is our IT willing to create a pseudo-user.