cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Using options -C and -z

From: Gabriel Thörnblad <gabriel_at_maxiom.se>
Date: Fri, 04 Mar 2011 08:37:56 +0100

On 2011-03-03 20:44, Dan Fandrich wrote:
> curl is doing exactly what was requested of it :-) This kind of situation
> would be exactly what someone else might need to, for example, download
> log files that are appended to but never overwritten. It sounds like you'll
> have to do this operation in two steps; check the date, and then download
> only if it doesn't match. HTTP doesn't provide any way to do what you
> want in a single operation, anyway, so this is what would have to happen
> in curl, regardless.

Well, when you put it that way, it actually makes sense :-) Thanks for
clearing that up!

Gabriel

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-04