Thanks, when I try the above command I get all errors. For example:
2019-10-27 09:59:14 ERROR : folder1/encryptedFileName: Failed to copy: googleapi: Error 404: File not found: 13Y6cLIgOjf3pj_wYyLMcUhPFRF_t3o., notFound
encryptedFileName is my encrypted file name in source
folder1 is the folder it is in, in source
To add, I am trying to copy from my team drive, to a completely different account, non team drive, via server side copy. Could this be the cause of the issues?
Thanks. I think so too. I went onto the google drive front end and tried sharing that folder with account 2, but it doesn’t let me share a team drive since I don’t own it
Account 2 is not a team drive, therefore I’ll try uploading some files there, and try the inverse (Rclone Account 2 > Account 1)
If that works then I’ll simply start using Account 2 as my ‘source’ and do rclone transfers from account 2 to account 1
Yes, the 404 means drive2 can't read from drive1.
When you don't use servers-side this is no problem because you are the middle man.
But on server-side, drive2 actually needs to have access to drive1 directly to do what you are asking.
So if I understand correctly, drive1 is a teamdrive, and drive2 is a regular drive, correct?
To get data (server-side) from a teamdrive, you will have to invite the drive2 user to teamdrive1. teamdrives have no "share" function so the only way this is going to work is if you can invite, or get the owner to invite, the drive2 user.
If both drives were teamdrives you could alternatively have invited user1 to teamdrive2 so user1 had access both places, but a personal-drive will be hard-connected to user2, so that sadly isn't an option here I think...
To get data (server-side) from a non-teamdrive, you will have to use the "share" function and share it to the drive2 user.
Then on drive2, use the --drive-share-with-me flag to access these shared files. You can now access them and and copy them to the normal storage of drive2.
So you are right, that if you have no control over teamdrive1 then the traffic might be easier the other way. That said, I think it should be possible to write to a shared area too... that's just not something I have tested. But if that works that would allow user1 to send data from teamdrive1 to a place user2/drive2 can access it.