We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

Strato HiDrive

asked 2018-03-16 10:54:25 +0300

Cryx gravatar image

It was said we would see support for additional cloud storage service in further Sailfish version. If possible I'd like to have an implementation of HiDrive from German Strato AG. There is an API for that (https://dev.strato.com/hidrive/), but I'm no developer at all..

WebDAV, FTP and so on are supported by HiDrive as well (hope we'll see these protocols in sailfish 3), but a native implementation would be nice.

edit retag flag offensive close delete

Comments

yeah, i'd like to have a native sf-version of that too!

jabgoe ( 2018-05-11 14:39:03 +0300 )edit

samw here...

👍+1 :)

Dreej ( 2018-06-12 23:53:16 +0300 )edit

You can also ask Strato to provide support for their product themselves by either creating an App or by contributing a package to SFOS / MER. Jolla probably has better things to do than implementing support for every single cloud provider out there. Personally, I'm favoring native implementations (like WebDAV and owncloud/Nextcloud support) to keep a nice, clean list of account providers.

ghling ( 2018-06-27 17:07:03 +0300 )edit

2 Answers

Sort by » oldest newest most voted
3

answered 2018-06-14 22:06:04 +0300

saja gravatar image

Hi Cryx!

I did some research on this topic:

Sailfish is capable of mounting webdav accessed Folders to the file system allready.

Installing NielDK's package "davfs2" from open repos enabled me of mounting my cloud storage (magentacloud) to rhe file system. Mounting needs to be done as root user. I did this using the terminal. The drive is unmounted when restarting the device though.

It should be possible to mount the drive when booting automaticaly by editing the appropiate files as root user. (fstab, secrets) I didnt try that by now. I could figure this out and make a "how to" if some of you folks are interested. Please let me know.

edit flag offensive delete publish link more

Comments

Sounds perfect. Since I'm kinda lazy right now, could you share the command with us? This would work for nextcloud alike....and the using a directory based player like Muuzik! I could finally stream all my music.

lispy ( 2018-06-14 22:58:09 +0300 )edit
2

What i did so far: (assuming you have the terminal installed and know your root password).

  1. Install "davfs2" by NielDK from openrepos (search for "webdav")
  2. Open the filemanager on your jolla, move to home/nemo
  3. Create a new folder you want as mountpoint (e.g. "clouddrive")
  4. Open the terminal
  5. Move to the newly created folder (>cd clouddrive[enter])
  6. Switch to root (by typing: devel-su[enter]) you will be asked for your root password here)
  7. Mount the folder by typing:

    mount.davfs https://webdav.magentacloud.de ./ -o uid=nemo

    was my mount command with

    • "https://webdav.magentacloud.de" is to be substituted with the webdav-access you get from your provider
    • "./" is the mount point in your local filesystem. As we changend to "clouddrive", it will be mounted to this dir.
    • "-o uid=nemo" the mounted folder will be acessible for user nemo. (we colud think about setting a group and permissions too. Flle free to do so.
      When mounting you will be prompted to enter your webdav username and password. Evenually you will be asked to accept certificates manually too (by pressing "j").
  8. Your cloud based files shoud show up here now.

Good luck ;)

saja ( 2018-06-14 23:31:10 +0300 )edit

Yay! Worked a treat but the 80GB music took forever to show and ate half my battery and took up heaps of space, due to cachin I suppose. I think I'll stick to the nextcloudw webplayer for now....thanks anyway!

lispy ( 2018-06-15 20:41:14 +0300 )edit
1

answered 2018-06-12 20:16:06 +0300

saja gravatar image

Hi Cryx! I totally agree! Hope to see webdav & co in sailfish 3 too.

Meanwhile (i'm working with german magenta cloud) you may want to use some android app to access cloud stored files at least.

I'm using "Solid explorer" ("ES file explorer" should work too) to access my magentacloud files from my jolla 1 using webdav.

Maybe this will work for you too until native support is realized?

Cheers!

edit flag offensive delete publish link more

Comments

HiDrive has an own Android App that can be installed via Aptoide, Yalp and even Amazon App Store (but the version at Amazon is more than a year outdated...).

Idea begin my initial post was that Jolla mentioned to add some cloud services in Sailfish 3 - and I wanted to hint them on the HiDrive Service and the point that there's an official API that (to my mind) would offer a relative simple integration in the os.

Nevertheless: Thanx for the suggestions!

Cryx ( 2018-06-15 10:23:38 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2018-03-16 10:54:25 +0300

Seen: 703 times

Last updated: Jun 14 '18