cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: -z timestamp and exit status

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 29 Dec 2003 18:31:08 +0100 (CET)

On Mon, 22 Dec 2003, Howard Smith wrote:

> Im looking for an obvious way to check the curl exit status code for a value
> indicating a matching timestamp/ or no match while doing a :
> curl -R -z out.html -O http://my.site.com/out.html
>
> Dont see an appropriate error code...

Try -w to get the HTTP response code.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-29

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET