cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Deleting a file on http server

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 18 Jun 2009 20:15:35 +0200 (CEST)

On Thu, 18 Jun 2009, neha bhagat wrote:

> I want to delete a file from apache server using curl library.Does curl
> library support delete feature?

Yes. CURLOPT_CUSTOMREQUEST set to "DELETE".

However that's very rarely what servers actually want you to do.

-- 
  / daniel.haxx.se
Received on 2009-06-18