How to trigger a virus scan on files in the Google Drive API?

I am trying to test the behavior of Google Drive virus scan through the API. I can upload a file through the Google Drive user interface and it tells me that it is infected with a virus. However, when I download the same file that was downloaded through the API, it does not give me any notifications and allows the infected file to be downloaded.

How can I get the API to tell me if I am trying to download an infected virus?

+4
source share
1 answer

File scan results are not currently displayed in the API.

+1
source

Source: https://habr.com/ru/post/1437449/


All Articles