cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Uploading file using HTTP and libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 29 Oct 2003 13:10:42 +0100 (CET)

On Wed, 29 Oct 2003, Pravin Jade wrote:

> Through this application,I want to upload a text/CSV file using libcurl and
> HTTP to Apache Web server .

Why don't you try:

1. Read the documentation and examples.
2. Post libcurl questions to the libcurl mailing list.

> So is this possible ?

Yes.

> Or libcurl supports only FTP based file upload ?

No.

> If it supprts HTTP based file upload ,can u show a sample example of it ?

First you need to read docs, then you need to tell us what "http upload" means
to you. In HTTP-speak you either PUT or POST (when you "upload"), and if you
POST you have several options.

Did you even look through the existing examples?

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-10-29