in reply to Parallel downloading under Win32?
I've written a downloader that spawned wget.exe as an external process to do the actual downloading. As long as no or little feedback is needed, that's all you need:
system(1, 'wget.exe', $url, '-O', $target_filename) == 0 or warn "Couldn't launch wget: $!/$?";
You only need a loop to launch the processes and possibly check from time to time how many instances you've launched.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parallel downloading under Win32?
by Xenofur (Monk) on Apr 29, 2009 at 12:11 UTC | |
by ikegami (Patriarch) on Apr 29, 2009 at 12:16 UTC | |
by Xenofur (Monk) on Apr 29, 2009 at 12:33 UTC | |
by ikegami (Patriarch) on Apr 29, 2009 at 12:56 UTC | |
by Xenofur (Monk) on Apr 29, 2009 at 13:24 UTC | |
by syphilis (Archbishop) on Apr 29, 2009 at 12:27 UTC | |
by Xenofur (Monk) on Apr 29, 2009 at 12:31 UTC | |
by syphilis (Archbishop) on Apr 29, 2009 at 13:10 UTC | |
by Xenofur (Monk) on Apr 29, 2009 at 13:26 UTC |