Corrupted on transfer: md5 crypt hash differ src vs dst (google drive)

What is the problem you are having with rclone?

Trying to add files to google drive. Should be noted, I'm an idiot when it comes to things like this.

Trying to add any files (txt file,video, folder) gives the error.

I feel like I'm missing something very obvious here.

The error:
Failed to copy: corrupted on transfer: md5 crypted hash differ src "705da4d4c7f5ebc9bf2c78be7beffa61" vs dst "1d02f86888c060d052b81eb4b0bfabe6"

Run the command 'rclone version' and share the full output of the command.

rclone v1.58.0

  • os/version: Microsoft Windows 10 Pro 21H1 (64 bit)
  • os/kernel: 10.0.19043.1645 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.17.8
  • go/linking: dynamic
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

I am using Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

I'm new to this. Am using rclone browser. Using copy, move or sync makes no difference. Should I instead use cmd for this?

The rclone config contents with secrets removed.

[secret]
type = crypt
remote = R:\Shared drives\Marius Drive
password = 
password2 = 

A log from the command with the -vv flag

I'm not sure how to use -vv flag.

hello and welcome to the forum,

--- did not post the exact command that was run, much easier to test on the command line.
--- need to add -vv to the commands, so we can see the debug output
--- for a smaller debug log, try to copy a single file,
--- did not post a gdrive remote, just secret with points to a local drive letter R:
are you using the google gdrive desktop sync/backup client software for the R: drive?

Not entirely sure sure how to copy files from source to destination, therefore using the rclone browser. Don't understand the "rclone copy source:sourcepath dest:destpath"

Is the remote setup incorrectly?

Yes I'm using google gdrive desktop software. It's using the R: drive.

no idea how rclone interacts with the google desktop software.
imho, not a good idea to use rclone to copy files to gdrive, using google client as a middle-man.

the correct way is to create a gdrive remote.

and if you need to use a GUI,
can use rclone mount, make gdrive appear as a local drive letter, same as the google app.
then can use windows explorer to copy files.

I want to upload files to gdrive, but have them encrypted.

I have it mounted as a new local drive, copying files to it gives the error.

I did try this. But it doesn't look like the files are encrypted. Gonna try again.

not sure what you mean, that you are using rclone mount or that google app?

the first step is to create a gdrive remote, and then test it by copying files.
when that works, we can work on the encryption part.

I used rclone to create a new local drive.

alright so I set up a new remote using gdrive, then mounted it. I can now copy files successfully, and then it syncs to gdrive, like it should.

The remaining is encrypting my files. How do I do this?

post the remote for gdrive, redact id/secret/etc...

[gdrive]
type = drive
scope = drive
token =
team_drive = 0AK862qNZ6TyyUk9PVA
root_folder_id =

I let it use defaults.

need to redact/remove the token value.

Sorry what do you mean by this? Change it to the proper value or remove it because it's sensitive?

Thanks

remove it, which is what you did.

for encryption, need something like this, change somefolder to whatever you want.

[secret]
type = crypt
remote = gdrive:somefolder
password = 
password2 = 

and then copy a file to secret:

1 Like

Okay I'm still a little confused, do I mount "secret" or "gdrive"?

mount to secret:

Badly is the answer. We've seen funny stuff with it before - I don't think it has a very complete filing system implementation.

Got everything working now. Thank you very much :smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.