glotlabs / gdrive

Google Drive CLI Client
MIT License
1.53k stars 91 forks source link

Gdrive cannot download files marked as malware #136

Open sergey-brutsky opened 2 days ago

sergey-brutsky commented 2 days ago

When I'm downloading files from my gdrive account via gdrive files download --overwrite --recursive for some files I see an error message

Error: Failed to download file: Bad Request: {"error":{"code":403,"errors":[{"domain":"global","message":"This file has been identified as malware or spam and cannot be downloaded.","reason":"cannotDownloadAbusiveFile"}],"message":"This file has been identified as malware or spam and cannot be downloaded."}}

But I'm 100% sure that this is not malware.

Is it possible to add some flag/fix this behaviour to allow download all files ?

Seems like rclone team introduced --drive-acknowledge-abuse flag to fix this issue.