Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add MEGA support for 'External Storage' plugin [feature request] #10118

Closed
arno01 opened this issue Jul 5, 2018 · 4 comments
Closed

Comments

@arno01
Copy link

arno01 commented Jul 5, 2018

It would be nice to see MEGA support as they offer 50GB of free storage.

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #3789 (External storage), #4730 (Storage), #6768 (Media support for Notes app [feature request]), #2097 (Adding OneDrive external storage support), and #9264 ([FEATURE REQUEST] Add support for .MOV format).

@MariusBluem
Copy link
Member

MEGA seems to have a WebDAV-Plugin. You may want to try this together with WebDAV mounted as external storage to Nextcloud: https://github.com/meganz/MEGAcmd/blob/master/contrib/docs/WEBDAV.md

@arno01
Copy link
Author

arno01 commented Jul 5, 2018

@MariusBluem

I wish it would...

According to the https://help.mega.nz/webclient/general.html#can-i-upload-data-using-ftp-sftp-webdav-or-similar

We cannot provide Drive Mapping, SFTP, FTP, AFP, SMB or webDAV service capability. None of these protocols can be supported due to MEGA’s client-side encryption.

@TheHeurist
Copy link

TheHeurist commented May 6, 2023

Sharing MEGA in Nexcloud
How to share folders from MEGA in Nextcloud:

  1. After logging in to MEGA via MEGA-CMD inside a console (DOS, bash, sh,…), simply go to the folder you wish to share with Nextcloud.
  2. Type in “webdav .” You will receive a link (displayed in the console).
  3. Copy that link or open it in a browser and there are the files you wish to share.
  4. Now go to External Storage in Settings(!), not your personal External Storage, and create a WebDAV connector and place that link into the first field (URL) and a “/” in the one just below it (Remote subfolder). Turn off “Secure https://”, because the connection you received from MEGA-CMD is http://
  5. Make sure YOUR Nextcloud credentials are in the “Username” and “Password” boxes.
  6. Click on the “…” dots and assign the users or groups who should have access to the share.
  7. Click on the Checkmark and you’re done!

Have fun with folders in Nextcloud which originate in MEGA. Syncing happens automatically as long as you always create the command shell to run after restarting your computer. Nextcloud needs this shelled “MEGA-CMD” running in the background in order to communicate with MEGA.

If you have any file or folder names containing a “&” in them, they will not display. This is a problem with MEGA and not Nextcloud. Be sure to rename them. Nextcloud simply stops displaying folders or files after their occurrence, because MEGA stops sending data containing the symbol.

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

No branches or pull requests

4 participants