You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to copy a single file Google document from Google Drive - again #2399
This commit causes the copy to run through a different part of the drive backend exposing this bug which has been there all along.
What needs to be done is that the code which mangles the google drive file names needs to be pushed into a lower level, so the code in List needs to be pushed into list so all callers of list get to know about google docs.
(Note also that if NewFs returned Fs, Object, error instead of ErrorIsFile then the code in CopyFile could use it directly instead of having to look it up again).
Activity
cjnaz commentedon Jul 15, 2018
Reference https://forum.rclone.org/t/unable-to-copy-a-single-file-from-google-drive-again/6164
cjnaz commentedon Jul 15, 2018
Verified working correctly on
rclone v1.41
ncw commentedon Jul 15, 2018
Thanks for making an issue about this.
A bit of git bisect shows that this is the problem commit
e42edc8
This commit causes the
copyto run through a different part of the drive backend exposing this bug which has been there all along.What needs to be done is that the code which mangles the google drive file names needs to be pushed into a lower level, so the code in
Listneeds to be pushed intolistso all callers oflistget to know about google docs.(Note also that if
NewFsreturnedFs, Object, errorinstead ofErrorIsFilethen the code inCopyFilecould use it directly instead of having to look it up again).drive: handle gdocs when filtering file names in list
ncw commentedon Jul 30, 2018
This should be fixed here - thanks @B4dM4n - let us know if you find a problem with it.
https://beta.rclone.org/v1.42-059-gdd670ad1/ (uploaded in 15-30 mins)
drive: handle gdocs when filtering file names in list