cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: DELELE occurence error later

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 May 2012 09:24:35 +0200 (CEST)

On Wed, 23 May 2012, M. Shinkaze wrote:

> headers = curl_slist_append(headers, "CWD /Temp");

In general CWD shouldn't be needed as a QUOTE command since you can provide
the a path in the URL.

> but just after on my source code, I trying to "reconnect":
> CurlErrorCode = curl_easy_setopt(pCurl, CURLOPT_USERNAME, user);
> CurlErrorCode = curl_easy_setopt(pCurl, CURLOPT_PASSWORD, passwd);
> m_CurlErrorCode = curl_easy_perform(pCurl);
> then here I got this error of CURLOPT_ERRORBUFFER is
> Curl error: 23 (Failed writing body (299 != 1004)
> I dont understand why, It seems I was deconencted by the server after the
> DELETE error ?

Why would it be related to the previous invoke at all? You haven't shown us
your code and you haven't told us how to reproduce this so it's really not
possible to tell why you're getting this error.

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