Https Downloads on Windows 10 and windows 8.
When multiple downloads are done with the code below and after about 20 successive downloads, and 1.5GB of data, windows 10 and 8 starts to lock up. Windows 7 works fine.
I suspect its to do with the MicrosoftWindowsINetCacheIE becoming full. No matter how I delete the cache files, it still locks the downloads up , and Chilkat throws an error up. On closer inspection, the cache creeps up to about 1.5GB-2GB of data files, and this is why I think this is happening.
Question, does the chilkat library with the code below download into the MicrosoftWindowsINetCacheIE cache, as this would explain the problem.
Using URLDownloadToFile in VB6 also has the same problem.
Set http = New ChilkatHttp Dim success As Long
' Any string unlocks the component for the 1st 30-days. success = http.UnlockComponent("Anything for 30-day trial") If (success <> 1) Then MsgBox http.LastErrorText Exit Sub End If
' Request AbortCheck events every .1 seconds http.HeartbeatMs = 100
' Give focus to the abort button: AbortBtn.SetFocus bAbort = False
' Download the Ruby language install ' Note: These URLs may have changed since this example was created. success = http.Download("url address", "file to save as") If (success <> 1) Then MsgBox http.LastErrorText Else MsgBox "Ruby Download Complete!" End If
Chilkat has no connection or relation to IE or it's cache.
answered May 10 at 09:37