Skip to content

drive: fix upload to existing file - #2032

Merged
B4dM4n merged 1 commit into
rclone:masterfrom
B4dM4n:drive_fix_upload_existing
Jan 30, 2018
Merged

B4dM4n merged 1 commit into
rclone:masterfrom
B4dM4n:drive_fix_upload_existing

Conversation

@B4dM4n

@B4dM4n B4dM4n commented Jan 30, 2018

Copy link
Copy Markdown
Collaborator

Here is the next fix after changing to API v3 😅

This fixes uploads to existing files for Google Drive introduced by #2007.
Instead of updating the old file a new "Untitled" file would be created in the root folder.

@B4dM4n

B4dM4n commented Jan 30, 2018 •

Copy link
Copy Markdown
Collaborator Author

Updated the patch.

The docs under Performing a Resumable Upload were wrong.
In v3 the correct method to update a file is now PATCH instead of PUT.
The API docs for Files: upload have the correct information.

This fixes uploads to existing files for Google Drive introduced by rclone#2007.
Instead of updating the old file a new "Untitled" file would be created
in the root folder.
@B4dM4n
B4dM4n force-pushed the drive_fix_upload_existing branch from 9be1f30 to 3c3b5ae Compare January 30, 2018 12:06
@B4dM4n
B4dM4n merged commit cf6d522 into rclone:master Jan 30, 2018
@B4dM4n
B4dM4n deleted the drive_fix_upload_existing branch January 30, 2018 13:37
lafkpages pushed a commit to lafkpages/rclone that referenced this pull request Jul 20, 2026
This fixes uploads to existing files for Google Drive introduced by rclone#2007.
Instead of updating the old file a new "Untitled" file would be created
in the root folder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant