Hi, I posted this to github before realizing there is an rclone forum--a more appropriate place, sorry. This is updated with a few more things I tried. Thank you for your help (and awesome program)!
cloud system:
rclone
problem:
When using rclone in windows with mega, it won't return any directory information. I've tried rclone/mega on a linux computer and it worked fine. rclone with SFTP on windows works fine. It's only mega + windows.
rclone version:
rclone v1.68.1
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.4317 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: cmount
Not sure if this is relevant, but I'm running rclone from my C:\Windows\system32 folder.
Also tested with latest beta (from a user directory, not sys32), same result.
Commands:
rclone ls mega: -vv
rclone lsd mega: -vv
rclone copy .\test.txt mega: -vv
Output:
rclone ls mega: -vv
2024/10/18 14:19:00 DEBUG : rclone: Version "v1.68.1" starting with parameters ["C:\\Windows\\system32\\rclone.exe" "ls" "mega:" "-vv"]
2024/10/18 14:19:00 DEBUG : Creating backend with remote "mega:"
2024/10/18 14:19:00 DEBUG : Using config file from "C:\\Users\\mxt\\AppData\\Roaming\\rclone\\rclone.conf"
rclone lsd mega: -vv
2024/10/18 14:19:22 DEBUG : rclone: Version "v1.68.1" starting with parameters ["C:\\Windows\\system32\\rclone.exe" "lsd" "mega:" "-vv"]
2024/10/18 14:19:22 DEBUG : Creating backend with remote "mega:"
2024/10/18 14:19:22 DEBUG : Using config file from "C:\\Users\\mxt\\AppData\\Roaming\\rclone\\rclone.conf"
rclone copy .\text.txt mega -vv
2024/10/18 14:19:51 DEBUG : rclone: Version "v1.68.1" starting with parameters ["C:\\Windows\\system32\\rclone.exe" "copy" ".\\test.txt" "mega:" "-vv"]
2024/10/18 14:19:51 DEBUG : Creating backend with remote ".\\test.txt"
2024/10/18 14:19:51 DEBUG : Using config file from "C:\\Users\\mxt\\AppData\\Roaming\\rclone\\rclone.conf"
2024/10/18 14:19:51 DEBUG : fs cache: adding new entry for parent of ".\\text.txt", "//?/C:/Users/mxt"
2024/10/18 14:19:51 DEBUG : Creating backend with remote "mega:"
(no file was uploaded)
rclone confid redacted:
[mega]
type = mega
user = XXX
pass = XXX
debug = true
use_https = false
[sftp]
type = sftp
host = XXX
user = XXX
pass = XXX
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum
[proton]
type = protondrive
username = XXX
password = XXX
client_uid = XXX
client_access_token = XXX
client_refresh_token = XXX
client_salted_key_pass = XXX
### Double check the config for sensitive info before posting publicly
debug log:
2024/10/18 13:45:55 DEBUG : rclone: Version "v1.68.1" starting with parameters ["C:\\Windows\\system32\\rclone.exe" "ls" "mega:" "--log-level" "DEBUG" "--log-file" "megadebug.log"]
2024/10/18 13:45:55 DEBUG : Creating backend with remote "mega:"
2024/10/18 13:45:55 DEBUG : Using config file from "C:\\Users\\mxt\\AppData\\Roaming\\rclone\\rclone.conf"
Diagnostics:
- Changing password to alphanumeric. Didn't help.
- Running from rclone beta. Didn't help.
- Typing in the password rather than copy/paste. Didn't help.
- MegaCMD: can log in succesfully from the same machine.