http://www.perlmonks.org?node_id=863033


in reply to file download with connection problems

wget as moritz suggested will definitely work. If you need to do it in a Perl program, you can try LWP.

use LWP; $have = length($file); $response = $ua->get($URL, 'Range', "bytes=$have-");