motioneyeos icon indicating copy to clipboard operation
motioneyeos copied to clipboard

Nextcloud as upload destination

Open escoand opened this issue 8 years ago • 3 comments

I've added a custom command to upload an image or movie to my nextcloud.

curl -k -T %f -u nextcloud-upload-id: -H X-Requested-With:XMLHttpRequest https://nextcloud.example.com/public.php/webdav/%Y-%m-%d-%H-%M-%S.mp4

Are you willing to add this as predefined upload service? You just need to set the domain, header and username (the unique id in the URL) and empty password, similar to the authorization key for Google drive.

More info: https://help.nextcloud.com/t/uploading-to-a-public-link-via-a-script/20294/5

escoand avatar Oct 13 '17 22:10 escoand