cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: ftp DELE command

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 Oct 2010 19:49:41 +0200 (CEST)

On Fri, 8 Oct 2010, Pierre-Etienne DELON wrote:

> struct curl_slist * pHeaderList = NULL;
> curl_slist_append(pHeaderList, "DELE file.txt");

You're not receiving the return code from curl_slist_append()...

> curl_easy_setopt(m_pCurl, CURLOPT_QUOTE, pHeaderList);

... so this sets a NULL pointer to the option, which has no effect.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-08

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET