To troubleshoot the cause of the deployment error "File download failed"
When deploying a patch, the deployment fails with the Patch progress state of "File download failed"
This error occurs when the console attempts to download the necessary patch, but is unable to do so. Some of the most common reasons you might see this include:
- The console is offline, not connected to the internet.
- The console is blocked from accessing the patch vendor's site (proxy, firewall, etc.)
- The console is set to download patches from a distribution server, but the patch in question is not there (possibly not yet synced from a main console, etc.)
You can get more information about the failure in C:\ProgramData\LANDESK\Shavlik Protect\Logs\ST.Protect.managed.<username>@<domain>.log. Look for an entry that states "Download Error" like this example:
2017-12-29T22:12:09.2522976Z 0006 W SingleFileDownload.cs:554|Download Error 'file://<DistributionServerPath>/windows8.1-kb4051956-x64.msu': System.Net.WebException: Could not find file '\\<DistributionServerPath>\windows8.1-kb4051956-x64.msu'. ---> System.Net.WebException: Could not find file '\\<DistributionServerPath>\windows8.1-kb4051956-x64.msu'. ---> System.IO.FileNotFoundException: Could not find file '\\<DistributionServerPath>\windows8.1-kb4051956-x64.msu'.
If the patch is supposed to be downloaded from the vendor, copy the download address from the error and enter it into a browser to shed more light on what's blocking access, then resolve whatever that block is.
If using a distribution server, make sure the patch is synced from its source so the console can access it.
If you are unable to make the download available using either of the methods described above, you can manually place the patch in the console's patch download location following the steps outlined in this doc:
If you need any assistance determining what the block is or how to resolve it, please open a support case.
Shavlik Protect 9.x
Ivanti Patch for Windows Servers 9.3+