curl-library
Re: How do I stop a FTP download?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 24 Oct 2003 22:23:13 +0200 (CEST)
Date: Fri, 24 Oct 2003 22:23:13 +0200 (CEST)
On Fri, 24 Oct 2003, Wei Weng wrote:
> Suppose I already have a FTP download going on with curl_easy_perform. Is
> there anyway to stop/abort/pause it using any curl function calls?
You make sure one of the callbacks return a return code that stops the
transfer. Use the write, read or progress callback.
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/Received on 2003-10-24