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

Deleting remote file problem

From: Nilesh Simaria <nilesh_at_deeproot.co.in>
Date: Tue, 3 Dec 2002 18:05:53 +0000 (GMT)

Hi,

I try to delete a remote file using libcurl. But insted of deleting a
file, it just displays the contents of a file.

        curl_easy_setopt(curl, CURLOPT_URL, "ftp://192.168.1.5/a.txt");
        curl_easy_setopt(curl, CURLOPT_USERPWD, "usr:pwd");
        curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");

Whats wrong?

Nilesh

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
Received on 2002-12-03

These mail archives are generated by hypermail.

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

File upload with ASP.NET