curl-library
Re: Interrupting Downloads
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 9 Dec 2002 08:11:41 +0100 (MET)
Date: Mon, 9 Dec 2002 08:11:41 +0100 (MET)
On Mon, 9 Dec 2002, Andi Jahja wrote:
> What am I supposed to do to interrupt, thus cancelling downloads which are
> currently running ? Eg. because of slow connection, user decided to stop
> downloads.
Please take libcurl programming questions on the curl-library list.
But, you basicly have two options: return an error from the write callback or
return an error from the progress callback.
There is no current way to abort a transfer "immediately". If you can think
of a good (portable) way to do this, then please tell us.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-12-09