Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: download JPG series with error-handling

by inq123 (Sexton)
on Mar 28, 2005 at 15:32 UTC ( #442835=note: print w/replies, xml ) Need Help??

in reply to download JPG series with error-handling

I thinking checking MIME type is better. But as another monk pointed out, you might want to check the returned file size to make sure it's not a generic image representing error. One could minimize the possibility of accidentally deleting non-error images of the same size by storing the names of the suspicious images and delete them once two or more of them were found in the same directory.
  • Comment on Re: download JPG series with error-handling

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://442835]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2020-02-20 05:05 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (86 votes). Check out past polls.