Skip to content

add Cloud mail.ru #591

Closed
Closed

Description

@C-A-T9LIFE

Activity

  1. ncw commented on Jul 18, 2016

    @ncw
    Member

    Does it have a public API somewhere?

  2. added this to the milestone on Aug 25, 2016
  3. sergevs commented on Jan 14, 2017

    @sergevs

    AFAIK, there is no official public documentation about cloud.mail.ru API.

    Here is an (unofficial) API implementation project which should be sufficient to develop cloud.mail.ru support for rclone: https://github.com/sergevs/GoMailRuCloud

    I'm the project owner and can answer any questions related to the implementation or provide any other kind of support by a request.

  4. zeliboba commented on Nov 14, 2018

    @zeliboba

    I alos vote for cloud mail.ru support. Any update?

  5. ivandeex commented on Jul 2, 2019

    @ivandeex
    Member

    Hi Nick. I am preparing a PR, which implements the mailru backend for rclone. I am still writing the documentation. Planning to submit the PR this month. In the meantime everybody interested can download beta binaries from the releases page. https://github.com/ivandeex/rclone

  6. ncw commented on Jul 3, 2019

    @ncw
    Member

    Hi Nick. I am preparing a PR, which implements the mailru backend for rclone. I am still writing the documentation. Planning to submit the PR this month. In the meantime everybody interested can download beta binaries from the releases page. https://github.com/ivandeex/rclone

    I just had a quick look a the code - excellent job - very easy to read and similar to the existing backends :-)

    I guess you are following the integrating a new backend proceedure?

    How are the integration tests progressing?

    I'll put this on the 1.49 milestone (so we don't forget about it, that isn't a hard deadline so if it needs more time that is fine).

  7. modified the milestones: Help Wanted, v1.49 on Jul 3, 2019
  8. modified the milestones: v1.49, v1.50 on Aug 27, 2019
  9. ivandeex commented on Sep 16, 2019

    @ivandeex
    Member

    @ncw Closed by #3501

  10. ncw commented on Sep 16, 2019

    @ncw
    Member

    I've merged this to master now which means it is in the latest beta and will be released in v1.50

  11. trochdewei commented on Oct 1, 2019

    @trochdewei

    I can not access cloud.mail.ru remote because of error Failed to create file system for "mailcloud:": Failed to authorize: oauth2: server response missing access_token

  12. ncw commented on Oct 1, 2019

    @ncw
    Member

    I can not access cloud.mail.ru remote because of error Failed to create file system for "mailcloud:": Failed to authorize: oauth2: server response missing access_token

    Is that still happening? @ivandeex - ideas?

  13. ivandeex commented on Oct 1, 2019

    @ivandeex
    Member

    I need more info to reproduce

  14. ivandeex commented on Oct 2, 2019

    @ivandeex
    Member

    One idea. mail.ru drive when used via web interface reportedly redirects to external oauth provider if user registers with a non-mail.ru e-mail. I didn't test this case in backend, so registering e-mail account on mail.ru and using mail.ru "cloud" drive with that e-mail (by clicking a tabbed link on top of mail.ru web interface) is recommended. Again, I'd rather wait for data from user.

  15. trochdewei commented on Oct 6, 2019

    @trochdewei

    I just created new remote using my username [email protected] and password

  16. ivandeex commented on Oct 10, 2019

    @ivandeex
    Member

    I am personally using development versions of mailru+chunker (eating own dogfood?) for 3 months. Starting from September when my PRs were merged on trunk, I'm just installing latest rclone betas. It stores nightly backups on a linux box in europe plus I mount drives on a Windows PC in russia.

    I tried to reproduce your issue using my test Mailru user with domain @list.ru
    Logged into www.mail.ru with email/pass, closed banners, refused to provide my mobile for "bonuses", switched to "cloud" (storage service) in the top panel, checked out initial disk contents. Then unpacked zip with latest rclone beta (1.49.mr20) on windows box in russia and installed .deb on ubuntu vps in europe, ran through configuration as per docs.
    It really does work (c)tvshop

    $ ssh XXX
    Welcome to Ubuntu 16.04.6 LTS
    $ sudo su -
    # wget https://github.com/ivandeex/rclone/releases/download/v1.49.mr20/rclone-v1.49.mr20-linux-amd64.deb
    # dpkg -i rclone-v1.49.mr20-linux-amd64.deb
    Selecting previously unselected package rclone.
    ..snip..
    ^D
    $ ssh XXX
    Welcome to Ubuntu 16.04.6 LTS
    deex@sedna:~$ rclone version
    rclone v1.49.mr20
    - os/arch: linux/amd64
    - go version: go1.12.10
    $ rclone config
    2019/10/09 20:04:43 NOTICE: Config file "/home/XXX/.config/rclone/rclone.conf" not found - using defaults
    No remotes found - make a new one
    n) New remote
    s) Set configuration password
    q) Quit config
    n/s/q> n
    name> XXX
    Type of storage to configure.
    Enter a string value. Press Enter for the default ("").
    Choose a number from below, or type in your own value
    [snip]
    Storage> mailru
    ** See help for mailru backend at: https://rclone.org/mailru/ **
    User name (usually email)
    Enter a string value. Press Enter for the default ("").
    user> [email protected]
    Password
    y) Yes type in my own password
    g) Generate random password
    y/g> y
    Enter the password:
    password:
    Confirm the password:
    password:
    Skip full upload if there is another file with same data hash.
    This feature is called "speedup" or "put by hash". It is especially efficient
    [snip]
    Choose a number from below, or type in your own value
     1 / Enable
       \ "true"
     2 / Disable
       \ "false"
    speedup_enable> [Enter]
    Edit advanced config? (y/n)
    y) Yes
    n) No
    y/n> n
    Remote config
    --------------------
    [XXX]
    type = mailru
    user = [email protected]
    pass = *** ENCRYPTED ***
    --------------------
    y) Yes this is OK
    e) Edit this remote
    d) Delete this remote
    y/e/d> y
    Current remotes:
    
    Name                 Type
    ====                 ====
    XXX                  mailru
    
    e) Edit existing remote
    n) New remote
    d) Delete remote
    r) Rename remote
    c) Copy remote
    s) Set configuration password
    q) Quit config
    e/n/d/r/c/s/q> q
    $ rclone about XXX:
    Total:   8G
    Used:    551.647M
    Free:    7.461G
    $ rclone ls XXX:
       723662 Берег.jpg
      1028940 Горное озеро.jpg
      1297836 Долина реки.jpg
      1775137 На отдыхе.jpg
    486354507 Полет.mp4
       939141 Чистая вода.jpg
     30745084 Mail.Ru рекомендует/Disk-O.dmg
     26348048 Mail.Ru рекомендует/Disk-O_setup.exe
     29231016 Mail.Ru рекомендует/Screenshoter.exe
    $
    
  17. Heniker commented on Oct 17, 2019

    @Heniker

    It doesn't seem to work with Two-factor authentication enabled.
    And even if you try to use passwords that mail.ru generate specially for authorizing apps - you will get the following error:
    Failed to create file system for "XXX:": Failed to authorize: oauth2: server response missing access_token
    Checked on Windows with Rclone version 1.49.5.

  18. ivandeex commented on Oct 17, 2019

    @ivandeex
    Member

    2FA support is not implemented. Neither is authorized app support. User/pass authorization only atm.
    Could you send me a link to the app registration form so I can play with it?

  19. self-assigned this
    on Oct 17, 2019
  20. ivandeex commented on Oct 18, 2019

    @ivandeex
    Member

    @Heniker please post your findings on the new issue as this one is already closed.

  21. Heniker commented on Oct 18, 2019

    @Heniker
  22. removed their assignment
    on Oct 18, 2019
  23. mikhailnov commented on Sep 21, 2024

    @mikhailnov

    @ivandeex Thanks for implementing support of cloud.mail.ru :-)

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