On Jan 31, 2006, at 12:19 AM, FreeFL wrote:

As all your fine tutorials, this works nicely but I never end with questions... I want to get a series of image files from some site, so I use your example within a loop in which I parse a file giving a list of image urls. I want the loop to wait for each image download completion for say three seconds, then process this image or skip to next. My firts attempts of course got my app hanging... How do I write the "wait, then test and eventually skip" part of the loop, since I found no timeout property or settimeout method in the HTTPSocket thing ?

Thanks, again and again...

I have a sample project like that:

    http://developer.dreystone.com/downloadqueue.php

It does not have a delay between downloads, but it does download multiple files at once (I believe the default is 3) because of multiple sockets. It works similar to a browser in that the first files requested will be the first ones handled. It uses the HTTPSocket events instead of the direct download method, but my code does include a timeout feature as well.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to