?
Solved

Massive Image Downloads Problem

Posted on 2007-12-04
7
Medium Priority
?
272 Views
Last Modified: 2010-04-21
hi Experts,

Hope you can help!

I need to load a massive 72000 URL that I need to download via HTTP.

I've tried components...WebCopy, URLDownload and IdHTTP.

The problem is that the application just freezes and I have to kill the process!

I have to get to the point of having to load 500 at a time and download them but it just takes me all day :o/

Can someone please help me with some code which can be able to do this please!

P.S: It's not my PC that can't handle it! I've got an Alienware Top of the range PC.

Hope you can help!

Thanks

ST3VO
0
Comment
Question by:ST3VO
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 

Author Comment

by:ST3VO
ID: 20409684
Anyone please???
0
 
LVL 28

Accepted Solution

by:
2266180 earned 2000 total points
ID: 20409743
idhttp should work just fine, provided that you are using idantifreeze setup correctly.

the alternative, is to create a thread and let the thread do the work, that way your UI will not freeze for sure.

but since you say you tried the idhttp, I would go with that one first. place an idantifreeze on the form, set the idletimeout to 50 and onlywhenidle to false. also, it should be active=true and applicationhaspriority=true

the alternative, and ugly solution is to place an onwork event for the idhttp and call the application.procesmesssages there. it won't work in 100% of all cases, but if your network connection can handle your load, then it will work just fine.
0
 

Author Comment

by:ST3VO
ID: 20409997
I'm testing it....I'll get ack to you...in a bit...Thanks :o)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:ST3VO
ID: 20410018
It's looking very promising...although I've just had one problem. It's now kind of doing something as it has the hourglass but it's now connecting to the new right now ....or doesn't seem to be....how can I know when it's busy doing something or not please?
0
 

Author Closing Comment

by:ST3VO
ID: 31412774
Works great! Thanks a million :o)
0
 
LVL 28

Expert Comment

by:2266180
ID: 20410631
well, AFAIK, indy doesn't set the cursor to anything. so there is some other component doing that. I personally never saw this behaviour before, but then again, I never did try to process a lot of stuff (or a big stuff) from the UI, but from a thread :)
0
 

Author Comment

by:ST3VO
ID: 20410659
Thanks !!! :o)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month13 days, 15 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question