What is the problem you are having with rclone?
If the problem of uploading a file fails after obfuscating the file name, I am thinking of changing the file name encryption mode from Off.
The standard option is not available due to file names over 160 in length.
I tested the copy command from the crypt remote(with file name encryption : Off) to the crypt remote(with file name encryption : obfuscate).
But Server-side copy doesn't seem to work in Dropbox.
What is your rclone version (output from rclone version
)
rclone v1.55.1
- os/type: windows
- os/arch: amd64
- go/version: go1.16.3
- go/linking: dynamic
- go/tags: cmount
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10, 64 bit
Which cloud storage system are you using? (eg Google Drive)
Dropbox
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy db-crypt: db-crypt2: --checkers 16 --fast-list --progress --stats 5s --stats-file-name-length 30 --stats-log-level DEBUG --transfers 4 -vv --log-file rclone.log
The rclone config contents with secrets removed.
[dropbox]
type = dropbox
token = [Hidden]
client_id = [Hidden]
client_secret = [Hidden]
[db-crypt]
type = crypt
remote = dropbox:rclone/crypt/test
filename_encryption = off
directory_name_encryption = true
password = [Hidden]
password2 = [Hidden]
server_side_across_configs = true
[db-crypt2]
type = crypt
remote = dropbox:rclone/crypt/test2
filename_encryption = obfuscate
directory_name_encryption = true
password = [Same as db-crypt]
password2 = [Same as db-crypt]
A log from the command with the -vv
flag
2021/05/01 09:47:09 DEBUG : Using config file from "C:\\rclone-windows-amd64\\rclone.conf"
2021/05/01 09:47:09 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "copy" "db-crypt:" "db-crypt2:" "--checkers" "16" "--fast-list" "--progress" "--stats" "5s" "--stats-file-name-length" "30" "--stats-log-level" "DEBUG" "--transfers" "4" "-vv" "--log-file" "rclone.log"]
2021/05/01 09:47:09 DEBUG : Creating backend with remote "db-crypt:"
2021/05/01 09:47:09 DEBUG : Creating backend with remote "dropbox:rclone/crypt/test"
2021/05/01 09:47:10 DEBUG : Creating backend with remote "db-crypt2:"
2021/05/01 09:47:10 DEBUG : Creating backend with remote "dropbox:rclone/crypt/test2"
2021/05/01 09:47:10 DEBUG : Encrypted drive 'db-crypt2:': Waiting for checks to finish
2021/05/01 09:47:10 DEBUG : Encrypted drive 'db-crypt2:': Waiting for transfers to finish
2021/05/01 09:47:12 DEBUG : sample.jpg: DropboxHash = 3707fb04a1b31b8b888e109c254336bd6aa69e910329bd2129b159d838493ac4 OK
2021/05/01 09:47:12 INFO : sample.jpg: Copied (new)
2021/05/01 09:47:12 DEBUG :
Transferred: 1.723k / 1.723 kBytes, 100%, 1.037 kBytes/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 3.3s
2021/05/01 09:47:12 DEBUG : 7 go routines active