in reply to download JPG series with error-handling
You could use LWP::UserAgent's get method (my $response = $ua->get('http://...')), and check $response->is_success. In case the web server incorrectly returns success, you could also try checking the content type ($response->content_type) against m/^image\//.
|
|---|