curl-library
Re: libcurl and deleting files from ftp server
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 16 May 2005 14:34:48 +0200 (CEST)
Date: Mon, 16 May 2005 14:34:48 +0200 (CEST)
On Mon, 16 May 2005, lostsandman wrote:
> This is what i do for delete a file
>
> ftpCommand = "DELE " + filename;
> list = curl_slist_append(list, ftpCommand.c_str());
Is 'list' set to NULL before you use this? Otherwise you'll probably get some
odd effects.
> i can't seem to find what i am doing wrong here.....
Me neither, but it would be easier for us to understand what you are doing and
possibly detect a problem if you would post a complete and compilable example
that we can try on a local ftp server of ours.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-05-16