cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: DELELE occurence error later

From: M. Shinkaze <shinkaze75_at_gmail.com>
Date: Tue, 5 Jun 2012 08:29:59 +0200

2012/6/5 Daniel Stenberg <daniel_at_haxx.se>

> On Tue, 5 Jun 2012, M. Shinkaze wrote:
>
> I have corrected the missing trailing slash and it works, thanks you! but
>> if the file does not exists I got a curl error number 21 (QUOT string not
>> accepted: DELE File.txt)
>>
>
> A quote for you (from curl_easy_setopt.3):
>
> When speaking to a FTP (or SFTP since 7.24.0) server, prefix the command
> with an asterisk (*) to make libcurl continue even if the command
> fails as by default libcurl will stop at first failure.
>
>
> in the perform, I got a curl error: 23 (Failed writing body (25 != 456))
>>
>
> If you have a write callback it is probably returning the wrong value.
>
> --
>
> / daniel.haxx.se
>
> ------------------------------**------------------------------**-------
> List admin: http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library>
> Etiquette: http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html>
>

Thanks for the "asterisk" tip ! so actually don't have a write callback
runing on my function. but previously on a PUT command I have a call to it.
So I could I disable it ?
by bisable any FTP transfert with CURLOPT_UPLOAD set to "0L" ?

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-05