It would appear that oDrive client doesn’t download files that Google Drive says is a virus.
This is either intended behaviour of oDrive, or there isn’t a condition in the client to accept Google’s different response.
E.G. On the browser if I download the file that failed on the client, I get this from Google:
Hi @voarsh,
We do not currently set the acknowledgeAbuse parameter in our calls. I will see if this is something we can add as an advanced feature to allow the user to enable this parameter on their Google Drive requests.
Any way I can get a list of files that could be deemed as a virus from Google?
I have lots of files that Google would have alarm bells about, but I’d be perfectly happy to download/run them. It’ll be painful to go through and download them manually later.
Hey @voarsh,
I’ll see what I can do in the next few days to at least get a build that will allow download of these files.
You should end up seeing these files that are not allowed to be downloaded listed in the logs and I think they may end up in the not allowed list, too, but you may need to double-check that.
Hey @voarsh,
I am circling back to this for development, but Google won’t let me download that file. It says only the owner can download it. It there another way you can get it to me?
Hi Tony.
Uh, not sure why you need any to download these files specifically, any file that antivirus can flag as a false positive should show the same on Google.
I can send it via email (DM me?) or a dropbox link?
I was able to get it into a test Google Drive. The way Google treats the flag, you can only set it on a file that triggers the error. This means I couldn’t just have it always enabled, and it needed to be exception triggered. Which meant I needed to actually trigger the exception to properly implement it…
I don’t think I can get a test build out tomorrow, but hopefully early next week.
You will want to replace the current odriveagent binary with this one. Also delete the current ~/.odrive-agent/odrive_ user_general_conf.txt so that it regenerate the file.
This new file will have a parameter "allowFlagged": false,. Change false to true and save. After that any Google flagged files will be downloadable.