title: Is there a curl/wget option that prevents saving files in case of http errors?
body: <p>I want to download a lot of urls in a script but I do not want to save the ones that lead to HTTP errors.</p>
  
  <p>As far as I can tell from the man pages, neither <code>curl</code> or <code>wget</code> provide such functionality.
  Does anyone know about another downloader who does?</p>