X Zero
Forum Addict
Ok, I am making a project that downloads multiple files.
I have tried a do loop, but it misses files. I think it is because it just quickly runs trough.
What needs to download the list of files in the listbox one after the other. Help Please
I have tried a do loop, but it misses files. I think it is because it just quickly runs trough.
Code:
Do Until count < 0
count -= 1
Dir = My.Application.Info.DirectoryPath & "/temp/" & file(count)
Ir = URL.URL & file(count)
WebClient.DownloadFileAsync(New Uri(Ir), Dir)
Threading.Thread.Sleep(8000)
System.Console.WriteLine("Downloaded: " & (file(count)))
Loop
What needs to download the list of files in the listbox one after the other. Help Please




