Also, just to throw another wrench in, just checking MIME type might not be good enough. What if the error "page" you get back is itself actually a jpeg image? I've seen that before. Don't know a way around it unless you are also checking the error code (and the webmaster configured the server sensibly to send back error codes).
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
In reply to Re^3: download JPG series with error-handling
by DrWhy
in thread download JPG series with error-handling
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |