i'm using WebClient and DownloadFileAsync to download files. I'm looping thru a file listing, and calling "DownloadFileAsync(url, file)" each time thru the loop. I have it wired to events which update a progress bar and shows the file download progress. I want the loop to stop/pause while the DownloadFileAsync method downloads the first file called from the loop...once that file is completely downloaded, i then want the loop to move on to the next file.
The main problem is that it loops thru multiple times before the first download is finished, and my progress bar status starts "jumping" back and forth between the two files that are being downloaded simultaneously. I tried using the "DownloadFile" method instead of "DownloadFileAsync", but for some reason it will not trigger my DownloadProgressChangedEvent event.