cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Uploading huge files using POST without MIME headers

From: Michael Wood <esiotrot_at_gmail.com>
Date: Mon, 17 Aug 2009 21:41:54 +0200

Hi

2009/8/17 Rahul Rathi <rahul.rathi2005_at_gmail.com>:
[...]
> Using curl.exe, i am able to post files with size more than 65K, but with
> libCurl i am getting the error '502 Proxy Error(Network name no longer
> valid)' for files of size more than 65K.

First, please don't top post:
http://curl.haxx.se/mail/etiquette.html#top-post

Second, if something works with curl, but not libcurl, then try this:

curl <your options here> --libcurl test.c

That will create a file called test.c that does the same thing as the
curl command with the options you specified. You can then take the
test.c and modify it for your needs.

-- 
Michael Wood <esiotrot_at_gmail.com>
Received on 2009-08-17