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 with DELETE

From: Daniel Stenberg <daniel_at_haxx.se>
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.html
Received on 2007-03-30

These mail archives are generated by hypermail.

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

File upload with ASP.NET