cURL / Mailing Lists / curl-users / Single Mail

curl-users

http stop before full page downloaded

From: skip <scp0801_at_gmail.com>
Date: Fri, 11 Feb 2011 12:29:47 -0800

Is there a command line option to stop the file transfer before the
entire file is transferred from an http source?
My need is for getting a snapshot of an http page that is constantly
being updated/appended through tail -f . I just want to get a few
lines of the current http output and stop. Right now curl runs
forever.

--SCP
-------------------------------------------------------------------
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-02-11