rclone/backend/drive
Nick Craig-Wood 5433021e8b drive: fix server side copy of big files
Before this change rclone was sending a MimeType in the requests for
server side Move and Copy.

The conjecture is that if you attempt to set the MimeType to something
different in a Copy then Google Drive has to do an actual copy of the
file data.  This takes a very long time (since it is large) and fails
after a 90s timeout.

After the change we no longer set the MimeType in Move or Copy and the
copies happen instantly and correctly.

Many thanks to @darthShadow for discovering that this was causing the
problem.

Fixes #3070
Fixes #3033
Fixes #3300
Fixes #3155
2019-07-05 10:49:19 +01:00
..
test drive: add --drive-import-formats 2018-09-25 15:20:23 +01:00
drive_internal_test.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
drive_test.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00
drive.go drive: fix server side copy of big files 2019-07-05 10:49:19 +01:00
upload.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00