Hello,
can please anybody point me out to samples or API how to download a file via HTTP in several threads? Standard QHttp seems does not provide with such functionality.
Thanks,
Hello,
can please anybody point me out to samples or API how to download a file via HTTP in several threads? Standard QHttp seems does not provide with such functionality.
Thanks,
How about using both QHttp & QThread?
What is your goal? If it is downloading multiple files at once, you can just use multiple QHttp objects.
(BTW, for Qt 4.6 you should use QNetworkAccessManager, which will download on 6 connections)
Disclaimer: Although I work on Qt for Nokia, anything I post here is personal
Still, there is no need for threads if the limiting factor is the speed the server gives you.
Threads only make sense if the _local_ parsing of the HTTP is too slow and you use your multiple cores to accelerate.
Disclaimer: Although I work on Qt for Nokia, anything I post here is personal
Bookmarks