<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.web.curl.general">
    <title>gmane.comp.web.curl.general</title>
    <link>http://blog.gmane.org/gmane.comp.web.curl.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9765"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9755"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9754"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9751"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9748"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9744"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9742"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9735"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9729"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9725"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9722"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9717"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9715"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9713"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9706"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9704"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9702"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9696"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9693"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.curl.general/9691"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9765">
    <title>SFTP using CURL in C++</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9765</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>rajashri bhor</dc:creator>
    <dc:date>2008-12-02T07:06:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9755">
    <title>trying to simulate login to UPS (willing to $pay$ for solution)</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9755</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>Vadim_ghk</dc:creator>
    <dc:date>2008-11-30T07:01:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9754">
    <title>Bug or not bug</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9754</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>Pietro Incardona</dc:creator>
    <dc:date>2008-11-29T15:41:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9751">
    <title>Install Curl</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9751</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>rosy quintero</dc:creator>
    <dc:date>2008-11-27T14:42:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9748">
    <title>libcurl and REALbasic... terrible mix (probably REALbasic's faultthough)</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9748</link>
    <description>Hi everyone,

I've been trying to get libcurl working with REALbasic, for Mac and PC.

It's really been a struggle. I've been struggling with this for 2  
weeks now. It should be simple. But it hasn't been.

I've been trying all sorts of different approaches to figure out what  
the problem is, when the problem occurs, trying all sorts of different  
approaches, and getting knocked back with all sorts of different  
problems each time.

First I tried using curl.exe for PC and curl for Mac. Worked great on  
the Mac. But failed on the PC due to crappy shell interaction, the  
shell itself wouldn't send the data sometimes. This may be REALbasic's  
fault or maybe Windows's fault, but... it worked on the Mac and not on  
PC.

So I tried using libcurl as a library. Better success, until I tried  
making multiple connections. Then I found form data was being lost. I  
thought it was a fault in libcurl, because it only happened when I  
turned on NTLM rather than all the time.

So I tried using libcurl in plain old C. That worked better. In fact,  
that worked perfectly. But that give me a bigger problem. Why would it  
work in a pure C environment, and fail in REALbasic? I spent a long  
time trying to replicate my RB code in C, but eventually found  
everything just worked. I realised the flaw can't be in libcurl then!

So I tried replicating the C environment in RB. From this, I realised  
that RB was causing curl lose data because of thread interaction.  
Which is odd, because REALbasic people keep on saying that REALbasic  
is SINGLE THREADED. And I only get problems when trying to use  
multiple connections at once.

I tried multiple threads in C, using pthreads. Worked like a charm.  
But doing the same thing in REALbasic failed. REALbasic can't do  
pthreads inside of RB, it crashes if you pthread stuff. I tried making  
a plugin (library written in C++ that works in REALbasic) to do  
pthreads, that didn't crash, but I was back to where I was before.  
libcurl was still not sending form-data when sending making multiple  
connections and using NTLM. So that plugin didn't help.

I tried using plain old RB threads, which aren't pthreads, god knows  
what they are internally (cooperative threads apparantly but even  
then...). No help either. That just kills connections somehow.

So... after all that, I am faced with two choices.

1) Accept that REALbasic's poor threading model, kills off libcurl's  
ability to make multiple connections no matter how good your  
intentions are at respecting libcurl's thread design. And just use  
libcurl one connection at a time. Makes for a worse UI experience...  
but there you go.

2) Use some kind of external tool, NOT a shell tool because of my  
terrible experience with Win32 shells and REALbasic. I think an tool  
that uses IPC sockets (interprocess communication) that I can shuffle  
data across between RB and the IPC tool, and have that one do the  
pthreaded libcurl stuff!

I simply cannot do number 2). I don't have the time or patience after  
all the previous disasters. There's only so many failiures a guy can  
take. In fact if I was wiser, I probably would have given up long ago.

I don't suppose anyone has wrapped libcurl in some kind of IPC  
socketed tool, already? :D Sort of like curl.exe only that it sends  
and gets data over IPC sockets to the app instead of over the shell.

Actually, on second thoughts. Forget that. I think I'm trying too  
hard. I need to just accept that REALbasic's thread model is terrible.  
I think this is wiser.

--
http://elfdata.com/plugin/
"String processing, done right"


-------------------------------------------------------------------
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

</description>
    <dc:creator>Theodore H.Smith</dc:creator>
    <dc:date>2008-11-27T00:23:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9744">
    <title>Support for SSL V2</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9744</link>
    <description>
Dear All,

my corporate auditor is stating that my firewall supports SSL V2 which
reportedly suffers from numerous cryptographic flaws and has been
deprecated for several years.

According to my tests and to literature on my firewall this is not true but
my auditor showed me the following curl command output whch, frankly
speaking, I don't understand:


C:\Users\qzer\&gt;curl -2 -k -vv https://xxx.xxx.xxx.xxx
* About to connect() to xxx.xxx.xxx.xxx port 443 (#0)
*   Trying xxx.xxx.xxx.xxx... connected
* Connected to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: /usr/share/curl/curl-ca-bundle.crt
  CApath: none
* SSLv2, Client hello (1):
* SSLv2, Server hello (4):
* SSLv2, Client key (2):
* SSLv2, Client finished (3):
* SSLv2, Server verify (5):
* SSLv2, Server finished (6):
* SSL connection using DES-CBC3-MD5
* Server certificate:
*        subject: /O=checkpointmgm..reovye/CN=Checkpoint_cluster VPN
Certificate

*        start date: 2004-03-31 08:51:18 GMT
*        expire date: 2009-03-31 08:51:18 GMT
*        common name: Checkpoint_cluster VPN Certificate (does not match
'xxx.xxx.xxx.xxx')
*        issuer: /O=checkpointmgm..reovye
* SSL certificate verify result: unable to get local issuer certificate
(20), co
ntinuing anyway.
zlib/1.
2.3 libssh2/0.15-CVS
* Empty reply from server
* Connection #0 to host xxx.xxx.xxx.xxx left intact
curl: (52) Empty reply from server
* Closing connection #0




I there anybody that can explain me if my auditor succesfully connected to
my servers and give me an explanation for each lines of the command output
?


Thank you and best regards


G.


--------------------------------------------------------------------------
NOTICE: this e-mail and any attachments thereto contain information, which is confidential, proprietary, privileged and/or protected from disclosure by intellectual property rights and are intended for the sole use of the recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any dissemination or copying of this message is strictly prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. Although we attempt to sweep e-mail and attachments for viruses, it does not guarantee that either is virus-free and Foster Wheeler organization accept no liability for any damage sustained as a result of viruses.
-------------------------------------------------------------------
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

</description>
    <dc:creator>Gianpiero_Drovanti&lt; at &gt;fwceu.com</dc:creator>
    <dc:date>2008-11-26T13:53:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9742">
    <title>Digest authorized</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9742</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>Левченко Кирилл Сергеевич</dc:creator>
    <dc:date>2008-11-26T10:48:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9735">
    <title>problem with http basic authentication and multiple redirects</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9735</link>
    <description>I'm successfully using curl and libcurl to upload and download files
using http, https, ftp, ftps and sftp, sometimes via http and socks
proxies. Fine tool.

But this time I have problems to download a file from a https site
with basic authentication. It's no problem with Firefox: typing in the
URL, filling in username and password in the Firefox basic
authentication window, and then downloading the file. But with curl,
it's failing.

With LiveHTTP Headers I could find the reason, probably. There are
some cookies, but curl can cope with that. And there are multiple
dynamic 302 redirects, forward to an Single Sign On application, and
then back again. And the client is supposed NOT to send it's basic
authentication credentials until one of those redirected pages ask for
it.

If the client sends it's basic authentication header immediatelly,
without being asked by the server, this redirection does not occur.
Instead, the server sends an 401 error page.

Is there an option in curl, maybe in conjunction with --location, to
send the basic authentication header only if requested by the server
(WWW-Authenticate: BASIC realm=...) ?

Menner


Details of the Firefox conversation:

#1 (original path)
GET /path/app?par=filename

HTTP/1.x 302 Moved Temporarily
Location: /basicbcaaa/protected/basicbcaaa/?par=BASE64ENCODEDSESSION==
Set-Cookie: sticky-key=somevalue; path=/; expires=....


#2 (redirect to sign on application)
GET /basicbcaaa/protected/basicbcaaa/?par=BASE64ENCODEDSESSION==
Cookie: sticky-key=somevalue

HTTP/1.x 401 Unauthorized
WWW-Authenticate: BASIC realm="WWW2 basic"
Set-Cookie: BCSICSAC=XY; Path=/
Set-Cookie: sticky-key=somevalue; path=/; expires=....


#3 (sign on)
GET /basicbcaaa/protected/basicbcaaa/?par=BASE64ENCODEDSESSION==
Cookie: sticky-key=somevalue; BCSICSAC=XY
Authorization: Basic aBcDeFaBcDeFaBcDeFaBcDeF

HTTP/1.x 302 Moved Temporarily
Location: /path/app?par=filename;cookiename=cookievalue
Set-Cookie: COOKIENAME=COOKIEVALUE; Path=/
Set-Cookie: SSOCookie=BASE64ENCODED-SSOTOKEN==; Path=/
Set-Cookie: sticky-key=somevalue; path=/; expires=....


#4 (redirect to original application, with session id)
GET /path/app?par=filename;cookiename=cookievalue
Cookie: sticky-key=somevalue; BCSICSAC=XY; COOKIENAME=COOKIEVALUE;
SSOCookie=BASE64ENCODED-SSOTOKEN==

HTTP/1.x 302 Moved Temporarily
Location: /path/app?par=filename
Set-Cookie: COOKIENAME=COOKIEVALUE; Path=/
Set-Cookie: sticky-key=somevalue; path=/; expires=....


#5 (again, original request, this time with some cookies)
GET /path/app?par=filename
Cookie: sticky-key=somevalue; BCSICSAC=XY; COOKIENAME=COOKIEVALUE;
SSOCookie=BASE64ENCODED-SSOTOKEN==

HTTP/1.x 200 OK
Content-Type: application/x-download
-------------------------------------------------------------------
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

</description>
    <dc:creator>Menner May</dc:creator>
    <dc:date>2008-11-25T15:33:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9729">
    <title>libcurl Couldnt resolve host name error</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9729</link>
    <description>Hi list,

I am having getaddrinfo(3) failed for www.google.com:80
Couldn't resolve host 'www.google.com' error when I run my simple
libcurl application in maemo scratch box.

curl -v www.google.com works fine inside scratch box. So seems it is not
rerouted problem as this link:
http://curl.haxx.se/mail/archive-2008-09/0092.html
but error reporting is same

same application works fine outside of scratchbox.

and hosts value already is "files dns" as this link:
http://lists.scratchbox.org/pipermail/scratchbox-users/2007-March/000906.html

my libcurl version 7.19.2

anyone have some tips on that?

Akram Tomur
-------------------------------------------------------------------
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

</description>
    <dc:creator>Aiken Tie</dc:creator>
    <dc:date>2008-11-24T11:59:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9725">
    <title>Is tunneling suitable for production ?</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9725</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>Bharat Varma</dc:creator>
    <dc:date>2008-11-24T08:21:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9722">
    <title>patch to enhance --progress-bar</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9722</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>Björn Schlögl</dc:creator>
    <dc:date>2008-11-23T12:59:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9717">
    <title>Problems and infos</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9717</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>Massimiliano Cuttini</dc:creator>
    <dc:date>2008-11-22T17:39:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9715">
    <title>Getting a file from Remote to any place</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9715</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>Panda, Debarchana</dc:creator>
    <dc:date>2008-11-21T05:44:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9713">
    <title>FTP - getting a file from remote</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9713</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>Panda, Debarchana</dc:creator>
    <dc:date>2008-11-20T03:15:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9706">
    <title>My buffer in a variable - c#</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9706</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>clement chazarra</dc:creator>
    <dc:date>2008-11-16T15:31:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9704">
    <title>how open web page using curl with bowser</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9704</link>
    <description>i want to open home page of my web server using curl command line.

my system is using Mozilla Firefox bowser (linux OS).

i tried with following commands, but still it is opening in the
text/html format.

 curl -A 'Mozilla/4.05 [en] (X11; U; Linux 2.0.32 i586)' URL

Even i donot know which version of Mozilla Firefox I am using ? 
 
 


-------------------------------------------------------------------
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

</description>
    <dc:creator>Jayalakshmi</dc:creator>
    <dc:date>2008-11-14T13:58:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9702">
    <title>how to upload directory</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9702</link>
    <description>hi,

how to upload directory to  server using curl command line from client
side???????

regards,
jaya

-------------------------------------------------------------------
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

</description>
    <dc:creator>Jayalakshmi</dc:creator>
    <dc:date>2008-11-14T05:17:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9696">
    <title>CURLOPT_PRIVATE returning incorrect values for delayed documents :Possible bug</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9696</link>
    <description>Hi All,


I am using libcurl 7.18.2 on fedora. I am using the following program to
download 3 files http://docserver/OFP181.vxml ,
http://139.121.249.198:8080/ir/vxml-srgs-ecmascript/608/cgi-bin/608-sleep8sec-tmp.jsp and http://139.121.249.198:8080/ir/vxml-srgs-ecmascript/608/cgi-bin/608-sleep8sec-tmp.jsp . 

The last two files are jsp with sleep time of 8 second,i.e. they will be
downloaded after 8 seconds. And I am setting CURLOPT_PRIVATE as 1 ,2 ,3
for the respective files. The problem is when I receive CURLINFO_PRIVATE
it is not 1 , 2, 3 but 2 , 3, 3. So i think there must be something in
the libcurl code that causes this. 

Also instead of sId as char array i give it as a hard coded string "1"
"2" and "3" directly to the api , the result is fine.

I am also including the code that i am using and the files that i am
downloading.

------------------------------------c code-----------------------------

#include &lt;stdio.h&gt;
#include &lt;string.h&gt;

/* somewhat unix-specific */
#include &lt;sys/time.h&gt;
#include &lt;unistd.h&gt;

/* curl stuff */
#include &lt;curl/curl.h&gt;
size_t WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void
*data);
struct Memory 
{
  char *memory;
  size_t size;
};
typedef struct Memory MemoryStruct;
/*
 * * Simply download two HTTP files!
 * */
int main(int argc, char **argv)
{
  CURL *http_handle;
  CURL *http_handle2;
  CURL *http_handle3;
  CURLM *multi_handle;
  int Q;
  int r_status;
  int still_running; /* keep number of running handles */
   CURLMsg* msg = NULL;
  http_handle = curl_easy_init();
  http_handle2 = curl_easy_init();
  http_handle3 = curl_easy_init();

  /* set options */
  char s_Id[512]={'\0',};
//   memset(s_Id,0,512);
  sprintf(s_Id,"%d",1);     
  curl_easy_setopt(http_handle, CURLOPT_URL,
"http://docserver/OFP181.vxml");
  fprintf(stderr,"Using Curl %p \n",http_handle);
  fprintf(stderr,"Setting PRIVATE DATA %s\n\n",s_Id);
  curl_easy_setopt(http_handle, CURLOPT_PRIVATE, s_Id);
//  curl_easy_setopt(http_handle, CURLOPT_PRIVATE, "1"); works fine
  curl_easy_setopt(http_handle, CURLOPT_VERBOSE, 0);

curl_easy_setopt(http_handle,CURLOPT_WRITEFUNCTION,WriteMemoryCallback);

  /* set options */
  curl_easy_setopt(http_handle2, CURLOPT_URL,
"http://139.121.249.198:8080/ir/vxml-srgs-ecmascript/608/cgi-bin/608-sleep8sec-tmp.jsp");
//   memset(s_Id,0,512);
  sprintf(s_Id,"%d",2);     
  fprintf(stderr,"Using Curl %p \n",http_handle2);
  fprintf(stderr,"Setting PRIVATE DATA %s\n\n",s_Id);
  curl_easy_setopt(http_handle2, CURLOPT_PRIVATE, s_Id);
//   curl_easy_setopt(http_handle2,CURLOPT_TIMEOUT,5);  
  curl_easy_setopt(http_handle2,
CURLOPT_POSTFIELDS,"sessionid=83f699bc0000011d25189e720a68a3b0");
  curl_easy_setopt(http_handle2,
CURLOPT_POSTFIELDSIZE,strlen("sessionid=83f699bc0000011d25189e720a68a3b0"));
  curl_easy_setopt(http_handle2, CURLOPT_POST, 1);
  curl_easy_setopt(http_handle2, CURLOPT_VERBOSE, 0);

curl_easy_setopt(http_handle2,CURLOPT_WRITEFUNCTION,WriteMemoryCallback);

  /* set options */
  curl_easy_setopt(http_handle3, CURLOPT_URL,
"http://139.121.249.198:8080/ir/vxml-srgs-ecmascript/608/cgi-bin/608-sleep8sec-tmp.jsp");
//   memset(s_Id,0,512);
  sprintf(s_Id,"%d",3);     
  fprintf(stderr,"Using Curl %p \n",http_handle3);
  fprintf(stderr,"Setting PRIVATE DATA %s\n\n",s_Id);
  curl_easy_setopt(http_handle3, CURLOPT_PRIVATE, s_Id);
  curl_easy_setopt(http_handle3, CURLOPT_VERBOSE, 0);

curl_easy_setopt(http_handle3,CURLOPT_WRITEFUNCTION,WriteMemoryCallback);

/* init a multi stack */
  multi_handle = curl_multi_init();

  /* add the individual transfers */
  curl_multi_add_handle(multi_handle, http_handle);
  curl_multi_add_handle(multi_handle, http_handle2);
  curl_multi_add_handle(multi_handle, http_handle3);
  int mInter_handles=3;
  int numHandles=0;
  /* we start some action by calling perform right away */
  while(1) 
    {
        while(CURLM_CALL_MULTI_PERFORM ==
curl_multi_perform(multi_handle, &amp;numHandles))
        {
            if(mInter_handles - numHandles &gt; 0 )
            {
                break;
            }
        }
        while((msg = curl_multi_info_read(multi_handle, &amp;Q))) 
        {
            if (NULL != msg &amp;&amp; msg-&gt;msg == CURLMSG_DONE) 
            {
                char *s_Id =NULL;
                char *url =NULL;
                CURL *pEasyHandle =  msg-&gt;easy_handle ;
                int  i_SID=0;
                if(NULL != pEasyHandle)
                {
                    curl_easy_getinfo(pEasyHandle, CURLINFO_PRIVATE,
&amp;s_Id);
                    curl_easy_getinfo(pEasyHandle,
CURLINFO_EFFECTIVE_URL, &amp;url);

curl_easy_getinfo(pEasyHandle,CURLINFO_RESPONSE_CODE,&amp;r_status);
                    fprintf(stderr,"EASY ADDR %p\n",pEasyHandle);
                    fprintf(stderr,"PRIVATE DATA GOT %s\n",s_Id);
                    fprintf(stderr,"URL %s          RESPONSE %d \n\n
\n",url,r_status);
                    if(strlen(s_Id) &gt; 0)
                    {
                        i_SID=atoi(s_Id);
//                         free(s_Id);
                    }
                    s_Id=NULL;
                    curl_multi_remove_handle(multi_handle, pEasyHandle);
                    mInter_handles--;
                }
            }
        }
    }
                

  curl_multi_cleanup(multi_handle);

  curl_easy_cleanup(http_handle);
  curl_easy_cleanup(http_handle2);
  curl_easy_cleanup(http_handle3);
   
  return 0;
}

size_t WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void
*data)
{
    size_t realsize = size * nmemb;
    MemoryStruct *mem = (MemoryStruct *)data;
    /*if(NULL != mem)
    {
        mem-&gt;memory = (char *)myrealloc(mem-&gt;memory, mem-&gt;size +
realsize + 1);
    }   
    if(NULL != mem &amp;&amp; mem-&gt;memory)
    {
        memcpy_t(&amp;(mem-&gt;memory[mem-&gt;size]),(mem-&gt;size + realsize +
1),ptr, realsize);
        mem-&gt;size += realsize;
        mem-&gt;memory[mem-&gt;size] = 0;
    }*/
//  printf("read %d\n",realsize);
    return realsize;
}

---------------------------------------------------------
-------------http://docserver/OFP181.vxml-----------------
&lt;vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"&gt;
    &lt;form&gt;
        &lt;block&gt;
            &lt;var name="terminate" expr="'Y'"/&gt;
            &lt;var name="disconnect" expr="'null'"/&gt;
            &lt;var name="sessionid"
expr="'83f699bc0000011d25189e720a68a3b0'"/&gt;

            &lt;prompt&gt;This is the test initialization&lt;/prompt&gt;
            &lt;submit
next="http://139.121.249.198:8080/ir/vxml-srgs-ecmascript/608/cgi-bin/608-sleep8sec-tmp.jsp" method="post"
                    namelist="sessionid"/&gt;
        &lt;/block&gt;
        &lt;catch event="error.noresource"&gt;
          &lt;log&gt; PlayAnncIVR error.noresource/&gt;&lt;/log&gt;
          &lt;disconnect/&gt;
        &lt;/catch&gt;

        &lt;catch event="error.connection"&gt;
          &lt;log&gt; PlayAnncIVR error.connection/&gt;&lt;/log&gt;
          &lt;exit/&gt;
        &lt;/catch&gt;


    &lt;/form&gt;
&lt;/vxml&gt;
------------------------------------------
-------------http://139.121.249.198:8080/ir/vxml-srgs-ecmascript/608/cgi-bin/608-sleep8sec-tmp.jsp---------
&lt;%&lt; at &gt; page language="java" contentType="text/xml" %&gt;&lt;%&lt; at &gt; page
import="java.io.BufferedInputStream" %&gt;&lt;%&lt; at &gt; page
import="java.io.InputStreamReader" %&gt;&lt;%&lt; at &gt; page import="java.net.URL" %&gt;&lt;%
&lt; at &gt; page import="java.net.URLConnection" %&gt;&lt;%&lt; at &gt; page
import="java.io.BufferedReader" %&gt;&lt;%&lt; at &gt; page import="java.util.Date" %&gt;&lt;%&lt; at &gt;
page import="com.oreilly.servlet.multipart.MultipartParser" %&gt;&lt;%&lt; at &gt; page
import="com.oreilly.servlet.multipart.Part" %&gt;&lt;%!

    

    // Handles server side includes so they can be parsed

    private class JSPIncluder
    {
        void readInput(HttpServletRequest request, String
strIncludePath) throws JspException
        {
            URLConnection conn;
            // Get URL
            StringBuffer strUrl = request.getRequestURL();
            String strUri = strUrl.toString();
            int nFindSlash = strUri.lastIndexOf("/");
            if (nFindSlash != -1)
            {strUri = strUri.substring(0, nFindSlash + 1);}
            strUri += strIncludePath;
            // Open connection
            try{
                conn = (new URL(strUri)).openConnection();
               conn.setDoInput(true);
               conn.setDoOutput(false);
               conn.connect();
            }
            catch (Exception e){throw new JspException(e.toString());}
            try
            {
                BufferedReader in = new BufferedReader(new
InputStreamReader(conn.getInputStream()));
                StringBuffer buff = new StringBuffer();
                char[] chars = new char[2048];
                int nLen;
                while ((nLen = in.read(chars, 0, chars.length)) &gt;= 0)
                {
                    buff.append(chars, 0, nLen);
                }
                m_strBuffer = buff.toString();
                in.close();
            }
            catch (Exception e)
            {
                throw new JspException(e.toString());
            }
        }
       boolean replace(String strFind, String strReplace)
        {
           boolean bFound = false;
            if (m_strBuffer != null &amp;&amp; m_strBuffer.length() &gt; 0)
            {
                int a = 0;
                int b = 0;
                while (true)
                { a = m_strBuffer.indexOf(strFind, b);
                  if (a != -1)
                   {
                       m_strBuffer = m_strBuffer.substring(0, a) +
strReplace + m_strBuffer.substring(a + strFind.length());
                       b = a + strReplace.length();
                       bFound = true;
                   }
                   else{break;}}}return bFound;}
        void doOutput(PageContext context) throws JspException
        {JspWriter out =
context.getOut();try{out.print(m_strBuffer.toString());}catch (Exception
e){throw new JspException(e.toString());} }
        private String m_strBuffer;
    }
   private class MultiPartHandler 
    {
       HttpServletRequest request;
       private MultiPartHandler(HttpServletRequest req)
       { request = req;}
        boolean find(String strFind) throws JspException 
        { MultipartParser parser;
            Part part;
           String strName;
           if((request.getContentType() !=
null)&amp;&amp;(request.getContentType().startsWith("multipart/form-data")))
           {
                try
                {
                    parser = new MultipartParser(request,
request.getContentLength());
                    while ((part = parser.readNextPart()) != null)
                    {
                        strName = part.getName();
                        if(strName.equals(strFind))
                        {
                            return true;
                        }
                    }
                }
                catch (Exception e)
                {
                    throw new JspException(e.toString());
                }
            }
            return false;        
         }
     }
  private class Result {
    String dest;long sleep = 0;boolean expiresHeaderSet = false;long
expires = 0;boolean include = false;StringBuffer comments = new
StringBuffer();int statusCode = 200;}
  private final String NL = System.getProperty("line.separator");
  private void determineResult(HttpServletRequest request, Result
result, MultiPartHandler multipart) throws JspException
  {
      result.dest = "../608-next.vxml";result.include =
true;result.sleep = 8;return;
  }

%&gt;&lt;%
    Result myResult = new Result();
    MultiPartHandler myMultiPart = new MultiPartHandler(request);
    determineResult(request, myResult, myMultiPart);
    response.setStatus(myResult.statusCode);
    if (myResult.sleep &gt; 0)
    {
       try
        {Thread.sleep(myResult.sleep * 1000);}
        catch (InterruptedException e)
        { throw new JspException(e.toString()); }
    }
    if (myResult.expiresHeaderSet){ Date now = new Date();long nMillis =
now.getTime(); response.setDateHeader("Expires", nMillis +
myResult.expires*1000);}
    if (myResult.include)     {
    %&gt;&lt;?xml version="1.0" ?&gt;

&lt;vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"&gt;&lt;form&gt;
    &lt;block&gt;&lt;% String comments = myResult.comments.toString();
   if (comments.length()&gt;0) {%&gt;
      &lt;log&gt;
          &lt;![CDATA[&lt;%= comments %&gt;]]&gt;
      &lt;/log&gt;&lt;%}%&gt;
      &lt;prompt&gt;Test is now complete&lt;/prompt&gt;  
    &lt;/block&gt;
  &lt;/form&gt;
&lt;/vxml&gt; 

&lt;%}%&gt;
-------------------------------------------------------


Thanks And Regards

-------------------------------------------------------------------
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

</description>
    <dc:creator>Sharad Kumar Singh</dc:creator>
    <dc:date>2008-11-11T11:28:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9693">
    <title>how to delete file using curl from http server</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9693</link>
    <description>hi all,
 I am using curl for web-server application and I am at client side. I
want to delete file and upload new file using curl command. I tried
uploading file like this 

curl -T hi.c  http://username:password&lt; at &gt;192.163.1.90/

and i got it.

But how to do delete a file using curl command ? please anyone  knows
about
this ? give me solution

some body given the solution for ftp server.but i want for http server.
please help me out.



-------------------------------------------------------------------
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

</description>
    <dc:creator>Jayalakshmi</dc:creator>
    <dc:date>2008-11-10T05:36:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9691">
    <title>Probleme to get a simple https</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9691</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>Florent Blanchon</dc:creator>
    <dc:date>2008-11-08T20:45:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.curl.general/9689">
    <title>Problem with CURLOPT_KEYPASSWD</title>
    <link>http://comments.gmane.org/gmane.comp.web.curl.general/9689</link>
    <description>-------------------------------------------------------------------
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
</description>
    <dc:creator>Florent Blanchon</dc:creator>
    <dc:date>2008-11-07T19:33:21</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.web.curl.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.web.curl.general</link>
  </textinput>
</rdf:RDF>
