mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-15 20:26:53 +02:00
Merge pull request #44 from JonathonMA/fix/avoverride
Ignore antivirus errors when downloading files
This commit is contained in:
commit
9ac799516a
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue