ST3VO
asked on
Downloading multiple images from URL FAST
Hi expert,
I need to download a list of images from a URL's FAST!
I guess the faster's way is to use Threads?
If so, could someone please give me an example code?
Or if anyone knows a faster way...
Hope you can help
thanks
ST3VO
I need to download a list of images from a URL's FAST!
I guess the faster's way is to use Threads?
If so, could someone please give me an example code?
Or if anyone knows a faster way...
Hope you can help
thanks
ST3VO
https://www.experts-exchange.com/questions/22735054/Delphi-Limiting-Threads-running-at-the-same-time.html
See rllibby's solution from the above link
ASKER
Hmmm....I can compile it without errors but when I try to run the application nothing happens :o/
Any ideas why???
Any ideas why???
ASKER
OK...got it running....
But how do I get this code to actually download files from the urls???
It's downloading nothing although I've changed the links the url's that link to images!
But how do I get this code to actually download files from the urls???
It's downloading nothing although I've changed the links the url's that link to images!
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi dinilud,
I installed your component and to downloads worked fine, BUT my problem is that I need to download using as many Threads as possible.
This component will download one at a time and I need Multiple threads so I can download as fast as possible.
I installed your component and to downloads worked fine, BUT my problem is that I need to download using as many Threads as possible.
This component will download one at a time and I need Multiple threads so I can download as fast as possible.
rllibby's this comonent is a mutithreaded component.
You check the updation of download list.
You check the updation of download list.
ASKER
I have checked and it's downloading one at a time. I really need speed in downloading above all!
ASKER
Note: Without downloading any download acelerators ;o)
Check On progress events of that component.
ASKER
UrlDownload1UrlProgress(Se nder: TObject; ID,
TotalSize: Cardinal; Stream: TStream); ???
TotalSize: Cardinal; Stream: TStream); ???
ASKER
Hi dinilud,
I am going to go for your answer and it does work great. There's just 1 thing I need to know...
How could I get the application to Terminate once the downloads are completed?
Thanks
ST3VO
I am going to go for your answer and it does work great. There's just 1 thing I need to know...
How could I get the application to Terminate once the downloads are completed?
Thanks
ST3VO
ASKER
Never mind. I've done it!!!