cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: help, PUT/File upload, POST or PUT?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 6 Feb 2001 08:21:47 +0100 (MET)

On Tue, 6 Feb 2001 pit_at_paradise.net.nz wrote:

> I realized that, after reading some more documents, i have to midify my
> server to obtain PUT fuction. Which is not going to happen. Well, i don't
> have much control over the server.
>
> I may have to use CGI script and POSTing with LibCURL.
>
> If you can give me some more advice i would be really greatful.

My advice: make an upload HTML form and upload with a browser while you
develop your script to receive POSTs. When that works, you can try uploading
arbitrary files with (lib)curl instead.

Just for the record: when sending whole files there really isn't much
difference in size or overhead when using POST vs PUT.

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-02-06