curl-library
Re: FTP with DELETE
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 30 Mar 2007 22:40:37 +0200 (CEST)
Date: Fri, 30 Mar 2007 22:40:37 +0200 (CEST)
On Thu, 29 Mar 2007, Alexsander Rosa wrote:
> I'm using libcurl in a C program that does some maintenance cleanup of a FTP
> server. The app DELEtes like 200 files per day, but only the first few files
> are actually deleted. Also, after *each* DELE command, the output of a "dir"
> command is thrown to stout. What's the proper way do DELEte files using
> libcurl? Is it normal to get this "dir" output?
You only get a dir output if you ask for a dir listing and don't have a write
callback set.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-03-30