libcurl c++

Discussion in 'C++' started by Uday, Mar 23, 2007.

  1. Uday

    Uday Guest

    Hi,
    can anybody help me uploading a file (text/zip) to a remote
    server using libcurl libraries in c++. when i searched in google, i
    found that i've to use CURLOPT_POST, CURLOPT_INFILE which points to
    the actual file & READFUNCTION which reads the content from the file
    and puts in the buffer. i'm setting the file size also in
    CURLOPT_INFILESIZE. i'm not getting any exception neither the expected
    result. it would be helpful if somebody can give me a sample code.

    Thanks in advance.

    Uday.
     
    Uday, Mar 23, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sylvain/11XX

    libcurl and expat

    Sylvain/11XX, May 23, 2006, in forum: XML
    Replies:
    1
    Views:
    586
    Joe Kesselman
    May 23, 2006
  2. Replies:
    0
    Views:
    526
  3. Raj

    Post data using the libcurl

    Raj, Nov 9, 2006, in forum: Python
    Replies:
    0
    Views:
    353
  4. Raj

    Post data using the libcurl

    Raj, Nov 9, 2006, in forum: Python
    Replies:
    0
    Views:
    316
  5. Raj
    Replies:
    0
    Views:
    1,180
Loading...

Share This Page