I am trying to set a web application where many clients can connect through a Node.js http server and then upload/download files that will then be shown in different display
Using curl for windows and owncloud 8. The only way I found to transfer a file was by using this command
curl -u user:password --upload-file "c:\path to file\srcfile" "https://ocserver/owncloud/remote.php/webdav/tgtfile"
Hope this helps