cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to delete file using curl from http server

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 10 Nov 2008 09:53:23 +0100 (CET)

On Mon, 10 Nov 2008, Jayalakshmi wrote:

> I am using curl for web-server application and I am at client side. I want
> to delete file and upload new file using curl command. I tried uploading
> file like this
>
> curl -T hi.c http://username:password@192.163.1.90/
>
> and i got it.
>
> But how to do delete a file using curl command ? please anyone knows about
> this ? give me solution
>
> some body given the solution for ftp server.but i want for http server.
> please help me out.

"somebody" also already replied with the HTTP way:
http://curl.haxx.se/mail/archive-2008-11/0019.html

But in general there is no generic way to delete files over HTTP. It all
depends on your server and setup.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-11-10