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: delete files from my computer

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 4 Sep 2007 09:54:02 -0700

On Tue, Sep 04, 2007 at 12:27:55PM -0300, Marco Antonio wrote:
> I'd like to know how I can erase all files of a diferent computer directory
> from mine by ftp using libcurl.

First, you would set up a transfer to obtain a list of all the files in
that directory, using the CURLOPT_FTPLISTONLY option. Next, you would
perform another transfer (a "dummy" transfer) but this time passing in
a list of DELE commands to the CURLOPT_QUOTE option, one for each file
to delete.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-09-04

These mail archives are generated by hypermail.

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

File upload with ASP.NET