Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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
Domain Nodelet?
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 making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2023-09-25 07:03 GMT
Find Nodes?
    Voting Booth?

    No recent polls found