Skip to content

Support for OpenDrive storage #1026

Closed
Closed

Description

@eharris

I was just looking at OpenDrive as a potential storage provider. They offer pretty competitive prices already, but they also claim to do competitor price matching, so may be a viable alternative to ACD's unlimited storage.

Their API documentation is linked here: https://www.opendrive.com/api

They also claim to have (only beta so far) support for Webdav, so Webdav support (#580) may avoid the need for native support.

Activity

  1. ncw commented on Jan 12, 2017

    @ncw
    Member

    Looks interesting!

  2. eharris commented on Jan 25, 2017

    @eharris
    ContributorAuthor

    I've been going over the API docs and double-checked with a contact at Opendrive support, and so far it appears that OpenDrive:

    • Uses md5 for file hashes
    • Supports modtime for files but not directories.
    • File and directory names are case insensitive
    • Has a file/directory name length limit of 255 characters (I assume this is bytes, not unicode). This limit appears to be per path/file segment, it is unclear if there is a whole path length limit but so far it appears there is not.
    • Does allow duplicate files (they call them "versions", and they are denoted with an additional numeric suffix in parens in the GUI. Versions seems to be an upgraded account option though)
    • Supports "purge" (delete of whole folder and contents)
    • Supports both copy and move operations for both files and folders. (these use the same API calls, passed with a flag to indicate if it is a copy or a move)
    • Supports Cleanup (purging files from trash). It is also nice that it only purges files for a given session_id.
    • There are currently no facilities for storing arbitrary per file/directory metadata. However there is a "Description" field for both files and directories that could potentially be used to store some limited metadata.
    • May support file-level deduplication, as if you supply a file size and hash when uploading a file, it will return you info that a file with the same size and hash already exists. At this point it is unclear how to resolve where a file exists or how to retrieve it purely by hash.

    I will update this comment with any future clarifications to avoid spreading the details out, making them harder to find.

  3. ncw commented on Jan 25, 2017

    @ncw
    Member

    @eharris very useful list - thank you

  4. vampywiz17 commented on Jun 3, 2017

    @vampywiz17

    This guy working a fork, that able to use Opendrive API (Download and listing is working)

    https://github.com/olihey/rclone/commits/opendrive

  5. vampywiz17 commented on Jun 8, 2017

    @vampywiz17

    Well, we try to delete the next "unlimited" storage provider? 🗡 :)

  6. noahleemiller commented on Jun 13, 2017

    @noahleemiller

    @vampywiz17 Have you actually pulled the code and confirmed the features referenced (D/L and Listing)? I've forked Oli's code and will start banging on it, but was curious if I can get confirmation that the baseline is ready to go.

  7. vampywiz17 commented on Jun 13, 2017

    @vampywiz17

    @noahleemiller Sorry, i can't test it (but i will plan it!), only yust check the commits.

  8. olihey commented on Jun 29, 2017

    @olihey
    Contributor

    I have now also implemented a experimental support for upload: https://github.com/olihey/rclone/commits/opendrive

    But I will not continue as the upload speed is only 2-3 MByte/s. I am going with Google drive now which in average 5 times faster.

    Good luck

  9. jakubkarlicek commented on Jul 20, 2017

    @jakubkarlicek
    Contributor

    Hey, if anybody still interested I took where olihey left off:

    https://github.com/Khouba/rclone

    It's passing tests, except server side Copy and Move.

  10. olihey commented on Jul 20, 2017

    @olihey
    Contributor

    Awesome work. What kind of upload/download speeds are you getting?

  11. jakubkarlicek commented on Jul 23, 2017

    @jakubkarlicek
    Contributor

    Not sure yet, I'm on the slow connection right now. I'll let you know later. I think I was getting similar speeds as you, around 2 - 3 MB/s

  12. ncw commented on Jul 24, 2017

    @ncw
    Member

    @olihey @khouba - great work! I'd love to have this in rclone when you are done.

    Make sure you check out the steps in the CONTRIBUTING guide for writing a new backend if you haven't seen them already.

    Let me know if I can help - I'm quite happy to finish stuff off if there is stuff left to do.

  13. added this to the v1.38 milestone on Jul 24, 2017
  14. jakubkarlicek commented on Aug 1, 2017

    @jakubkarlicek
    Contributor

    Sorry for the delay, I've been busy at work... Did some testing and it looks like speeds are limited per transfer. Right now I'm using 20 transfers at once and I'm getting 7 MB/s upload. Didn't test download yet, but I suppose it'll be better, will let you know as soon as I do

    @ncw I'll write the docs as soon as I've got some spare time, I also plan to write you because of server side copy and move. I implemented also those, but tests are not passing for it

    @olihey thanks for great foundation, it was much easier for me to learn golang when I had basic things working

  15. 60 remaining items

  16. ncw commented on Apr 30, 2018

    @ncw
    Member

    I've been working on the opendrive backend. It is now passing all the tests except one - the server side directory move.

    If any interested parties would like to give it a a go, here it is:

    https://beta.rclone.org/v1.41-016-g6fe0fce3-opendrive/ (uploaded in 15-30 mins)

    I've given it some testing with larger amounts of files and it is looking good.

    You can find the code in the opendrive branch if anyone wants to send pull requests against it!

  17. ncw commented on May 12, 2018

    @ncw
    Member

    I've finished off the opendrive backend and merged it to master

    https://beta.rclone.org/v1.41-047-gcdde8fa7/ (uploaded in 15-30 mins)

    It will be in the latest beta from now on and in v1.42.

    Please test and report bugs!

    Thank you @olihey and @khouba for getting nearly all the way there :-) I've merged it as 3 commits one by each of you and one by me (I normally merge backends as 1 commit but I wanted to show where credit was due!).

  18. jakubkarlicek commented on May 14, 2018

    @jakubkarlicek
    Contributor

    Amazing, thanks. Will test straight away 👍

  19. curro88 commented on May 15, 2018

    @curro88

    Hi there!

    After a long time without using rclone, I downloaded today the last beta to use it with my new OpenDrive account.

    The thing is that when I try to mount OpenDrive on my Synology through ssh using:
    rclone mount OpenDrive: --allow-non-empty --allow-other --default-permissions --read-only /volume1/TimeMachine/OpenDrive &
    I receive:
    Failed to create file system for "OpenDrive:": didn't find filing system for "opendrive".

    I've tried Rclone Browser on my Mac and I had no trouble doing some test uploading some files to OpenDrive.

    Anyone can help?

    Thanks!

    Solved: I'm silly and I installed the beta on my computer but not in my Synology, that's why I couldn't mount the drive

  20. ncw commented on May 15, 2018

    @ncw
    Member

    @curro88 the type field in the config file has an extra space in by the look of it.

  21. modified the milestones: v1.42, v1.43 on Jun 17, 2018
  22. ncw commented on Aug 30, 2018

    @ncw
    Member

    I'm going to close this as it is done - hooray!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions