cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to use Curl to delete file from destination server

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 25 Jul 2006 23:50:30 +0200 (CEST)

On Tue, 25 Jul 2006, Dan Fandrich wrote:

>>> curl -Q -DELE --url http://xxx.xxx.xxx.xxx:xxx/path to file name but it
>>> does not work.
>
> Try following my suggestion instead. You need to give the DELE command a
> file name to work with.

Note how he is using HTTP so -Q doesn't work. Possibly -X DELETE is what he's
looking for, but I don't know.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-07-25