cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Some questions regarding aborting FTP download

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 29 Oct 2003 08:00:29 +0100 (CET)

On Tue, 28 Oct 2003, Wei Weng wrote:

> Does the write callback function need to return the number of bytes written
> to the disk?

Yes, as documented.

> What is the return value of curl_easy_perform if I abort the download
> process using global variable switch I described in previous email?

CURLE_WRITE_ERROR.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-10-29