From 8b68adf8ddeaed18b74de0133fafddc473f30811 Mon Sep 17 00:00:00 2001 From: "Jonathon M. Abbott" Date: Fri, 1 Apr 2016 22:41:23 +1000 Subject: [PATCH] Ignore antivirus errors when downloading files - closes #31 --- src/onedrive.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onedrive.d b/src/onedrive.d index f6572459..cf70d61d 100644 --- a/src/onedrive.d +++ b/src/onedrive.d @@ -99,7 +99,7 @@ final class OneDriveApi import std.file; if (exists(saveToPath)) remove(saveToPath); } - char[] url = itemByIdUrl ~ id ~ "/content"; + char[] url = itemByIdUrl ~ id ~ "/content?AVOverride=1"; download(url, saveToPath); }