curl-users
RE: HTTP - Delete
Date: Wed, 8 Dec 2004 10:06:40 +0100
Hi,
The server needs to implement the http protocol "DELETE" request and authorize it.
Then again almost no browser supports this feature (AFAICT).
ref: http://www.w3.org/Protocols/rfc2616/rfc2616.html, section 5
You can also build a CGI interface, and solve it there, using query or form based input.
That can also have the advantage of doing somthing immediately with the uploaded data.
HTTP PUT, just places a file, A HTTP POST of a will upload a bunch of mime encoded data and
many tools (Perl CGI script/PHP scripting) will interpret this into fields & files as was specified
in the form. If you need to post-process this data you can then immediately initiate handling of it.
This handling should not take long, you can run into IP timeouts or people that submit data many times because
there was no reaction.
Kind regards,
Nico Baggus
-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se [mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Bob_Rhodes_at_adp.com
Sent: Tuesday, December 07, 2004 19:51
To: curl-users_at_cool.haxx.se
Subject: HTTP - Delete
Is there a way to delete a file on a remote server using HTTP/HTTPS?
-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.
Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------
Received on 2004-12-08