Thread
:
(Automatic/one-tap) Photo upload to Owncloud
View Single Post
bennypr0fane
2015-02-01 , 23:13
Posts: 466 | Thanked: 335 times | Joined on Jan 2010 @ Vienna, Austria
#
1
Hi,
I'm trying to work out a procedure for the easiest possible way to automate upload of pictures taken with the Jolla to an Owncloud server.
We currently have no native application that can do it. What we do have is Rsync, and some powerful command line tools and Linux packages.
With Rsync and the ShellEx application, we can reduce the effort needed to upload all new pics to Owncloud to one tap.
What's stopping me right now is the problem: Where do I rsync to?
Webdav is the only recommended upload solution for OC besides sync clients/apps and the web interface.
Owncloud's webdav share needs to be mounted somewhere in order to have a target to rsync to.
We currently cannot mount the share on the phone itself, although we have
davfs2 on Openrepos
. It won't install on my Jolla because of a dependencies error (maybe NielDK can shed some more light on this issue).
If you have a root server that is always on and is not your Owncloud server, it should be easy for you to mount the OC webdav share there and rsync your Jolla pics to it.
However, I have only my OC machine with an open internet port, so I have to mount the webdav to that. It's not working for me though, so I was hoping you guys could help me work out the proper mount options for a share *on the server that it comes from*.
I have unsolved threads
here
and
here
.
I know this part is not exactly a Jolla/SailfishOS topic, but it's part of the procedure that we could use with the tools we have at our disposal already and post it on TJC as a wiki, once all the details are clear.
If I succeed to mount the share on the OC server and the channel is open, the next step could be some sort of daemon that monitors the folder where the camera saves the pics, and triggers the rsync command whenever a picture is taken. Suggestions for this are welcome.
Quote & Reply
|
The Following 3 Users Say Thank You to bennypr0fane For This Useful Post:
Jedibeeftrix
,
juiceme
,
sandy_locke
bennypr0fane
View Public Profile
Send a private message to bennypr0fane
Find all posts by bennypr0fane