Sinisterly
Multi Download - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework)
+--- Thread: Multi Download (/Thread-Multi-Download)



Multi Download - 1llusion - 01-22-2011

Hi,

well... I'm making a kind of downloader, well... it will get the strings to download from a site, now, there will be more than one link

example:
Code:
somebody.fileave.com/something.exe somebody.fileave.com/somethingelse.exe somebody.fileave.com/moreweirdthings.exe somebody.fileave.com/lalala.exe

I know the code:
Code:
Dim wc As New WebClient Dim strings As String strings = wc.DownloadString("link") wc.Dispose()

My question is, how do you make the program, to download all files 1 by 1?

Thanks alot!!! Smile

PS: I know the code to download Biggrin I just can't find a way to download 1 by 1 Smile


RE: Multi Download - Coder-san - 01-23-2011

It's about time you take Loops seriously :lp:
That will make your files download all at once.

But if you want them to complete before starting another then check the download size and the completed file size, and use a seperate thread.


RE: Multi Download - 1llusion - 01-23-2011

Ok, just took loops seriously Biggrin Found a way Smile hehe time to take split seriously Smile

thanks Smile