cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem with CURL

From: <RBramante_at_on.com>
Date: Wed, 12 Feb 2003 23:12:25 -0500

Try not reinitializing last_c to 0 at the start of every write_data
callback.

                                                                                                                                                   
                      "Fig TaTam"
                      <fig_tatam_at_hotmail.com> To: curl-library_at_lists.sourceforge.net
                      Sent by: cc:
                      curl-library-admin_at_lists.sour Subject: problem with CURL
                      ceforge.net
                                                                                                                                                   
                                                                                                                                                   
                      02/12/2003 07:45 PM
                      Please respond to
                      curl-library
                                                                                                                                                   
                                                                                                                                                   

I'm new to cURL and there's something wrong with my program.
What I'm trying to do is: download webpage source into a buffer. That's it.

What I get is a buffer that contains the begining and end of the webpage,
plus a few things from the middle. Most of the data is missing.

Here's my source code: http://64.60.177.194/blah.cpp
I have tried different URLs, but the one I really want to use is this:
http://www.jossh.com/jgeng/PilotViewer?p=squik

Anyone know what may cause the program to recieve only a portion of a file?
and how to fix it?

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-02-13