curl-library
Re: FTP: abort a transfer (using the ABOR FTP command)
Date: Mon, 20 Feb 2006 09:21:38 +0100
Ok, and what is the way to abort a transfer without sending ABOR FTP command
?
----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Friday, February 17, 2006 11:29 PM
Subject: Re: FTP: abort a transfer (using the ABOR FTP command)
> On Fri, 17 Feb 2006, Olivier ROBIN wrote:
>
> > I use libcurl for FTP, and I would like to have the possibility to
interrupt
> > a FTP transfer (STOR or RETR).
> >
> > I think I have to create two threads, one for the transfer operation,
and
> > the other to send the FTP command ABOR, but it looks like that we cannot
> > shared a CURL* handle between multiple threads
> > (http://curl.haxx.se/libcurl/features.html#thread).
> >
> > So, how can I send ABOR during a transfer without threads ?
>
> You can't. You can abort the transfer, but it won't send any ABOR. It
sounds
> like a good thing to add...
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2006-02-20