I have a bash-script which calls curl using a proxy. Today there is a problem with the download location.
Calling curl ends up with:
curl: (18) transfer closed with 7512708716 bytes remaining to read
Although this error occurs, the return code remains 200, so that my script "thinks" that everything was fine.
How can I say curl to give another return code than the http-200?