Quote:
Originally Posted by qkqw
I don't know of any existing solution to this, but it shouldn't be too hard to create something like this. Let's suppose you're using Nextcloud/Owncloud, then you could create a share in which you allow uploads. Using curl (which is already included in KoboCloud) you can then upload any file to that share. To summarize:
- Create public share allowing uploads
- Use the udev-trick by KoboCloud to run your upload script
- Add some logic to find your screenshots (Mostly look for /mnt/onboard/Screenshot*.png) files
- Upload them using curl (comes down to something like curl -T $file -u "$FOLDERTOKEN":"$PASSWORD" "$CLOUDURL/$PUBSUFFIX/$file"
Hope this helps to get you going.
|
Thank you for the idea.
Two days ago I wrote a bash script that I launch through NickelMenu. It checks the internet connection, looks for screenshots in the root directory and it uploads (it's supposed to, at least) to dropbox with curl and deletes them after that. I still have a problem I can't fix: curl throws me an error about some missing certificates. I've already tried to run curl with the
flag and the certs found
here but I'm still stuck with the same error.
Quote:
Originally Posted by Ned
You're going to have to connect USB to charge the thing, so why not just transfer the screenshots then?
|
Quote:
Originally Posted by JSWolf
Most connect to a USB charger.
|
Why don't I use a USB cable? Because I think it's not convenient looking for a cable and plug it in my pc when I simply want to share something I find interesting as fast as I can with one of the messaging apps I have on my smartphone.
Am I the only one with such a use case?