cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Login & FileUpload via HTTP POST faling - using curl_formadd

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 5 Nov 2008 22:33:37 +0100 (CET)

On Wed, 5 Nov 2008, Krishna Murthy Gudipati wrote:

> From the MSDOS command prompt using curl.exe the login and upload is
> perfectly working. But login and upload using libcurl from C++ application
> is failing.

First, you should consider comparing *full* protocol dumps that also include
all the data the two versions _send_ in their requests. Then, you only showed
us data from one of the two requests both of your versions do.

Apart from that, it is quite easy to just view the two versions next to each
other and tell what the differences are. Just make sure that you fix the
differences. They include content-length size and cookies as far as I could
see.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-11-05