|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-784995 ] --fail doesn't work
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 10 Sep 2006 12:09:46 -0700
Bugs item #784995, was opened at 2003-08-07 16:44
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
--fail option doesn't work, I think. I do :
curl --fail .... other options .... url
... and I get $? = 0, despite that the file doesn't
Regards,
Piotr Hosowicz
----------------------------------------------------------------------
Comment By: Pulseczar (pulseczar)
Message:
Sorry, I didn't see the follow-ups until after I posted.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Adding a comment to a closed report will not cause any good.
If you think you have a new bug, file a new report. This one
And when you do, provide more details on how we can repeat
----------------------------------------------------------------------
Comment By: Pulseczar (pulseczar)
Message:
I could not get --fail to work either. When using cURL to
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
No bug, closed report.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
So, slap on a -v and the truth is revealed:
I did this
$ curl --location --fail
It turns out that this server doesn't return errors on
So, do you have any other URL that makes --fail fail?
----------------------------------------------------------------------
Comment By: Piotr Hosowicz (lodzislaw)
Message:
Following is a snip of the script that I wrote yesterday, it
# ----------- this is the snip
#!/bin/bash
URL=http://download.mks.com.pl/download/linux/bazy4.tgzxxx
cd $BASEDIR
# .... cut the rest (irrelevant to the issue)
# --------------------------
I didn't test the second issue yet (with the --time-cond
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Again, give me a full command line showing this. I've had a
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info