Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: download JPG series with error-handling

by inq123 (Sexton)
on Mar 28, 2005 at 15:32 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-28 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found