cURL / Mailing Lists / curl-users / Single Mail

curl-users

FW: With Curl the last two lines are missing of all the

From: Andre vd Berg <andrevdberg_at_home.nl>
Date: Fri, 16 Jul 2004 14:24:19 +0200

Hello,

I tried it with 3 files wit different size.
Every time the Received display on the screen and Content-Length in the
trace are the actual size of the received file.

The only strange thing is that in the trace-file Content-Length once is with
a capital C and the second time not.

Hereby the trace of one attempt:
=====================================================================
== Info: About to connect() to beheer.t-mobile.nl port 443
== Info: Connected to beheer.t-mobile.nl (80.79.193.176) port 443
== Info: successfully set certificate verify locations:
== Info: CAfile: C:\CURL\curl-ca-bundle.crt
  CApath: none
== Info: SSL connection using RC4-MD5
== Info: Server certificate:
== Info: subject: /C=NL/ST=Zuid Holland/L=Den Haag/O=Ben Nederland
BV/OU=Internet/OU=certificaat.kpn.com/RPA Incorp. by
Ref.,LIAB.LTD(c)98/OU=Authenticated by KPN Telecom BV/OU=Member, VeriSign
Trust Network/CN=beheer.t-mobile.nl
== Info: start date: 2004-02-18 00:00:00 GMT
== Info: expire date: 2005-02-19 23:59:59 GMT
== Info: common name: beheer.t-mobile.nl (matched)
== Info: issuer: /C=US/O=RSA Data Security, Inc./OU=Secure Server
Certification Authority
== Info: SSL certificate verify ok.
=> Send header, 568 bytes (0x238)
0000: POST /beheer/htdocs/page/factuur/benvartype.asp?action=1&Subscri
0040: berID=4309588&InvNr=901011090566&InvD=21-01-2004&Type=NATL HTTP/
0080: 1.1
0085: User-Agent: curl/7.11.2 (i386-pc-win32) libcurl/7.11.2 OpenSSL/0
00c5: .9.7b zlib/1.2.1
00d7: Host: beheer.t-mobile.nl
00f1: Pragma: no-cache
0103: Accept: */*
0110: Cookie: ASPSESSIONIDCARQTTCD=LLNMMLJCFGBFPFCHIIAOOABF; LEVEL1COO
0150: KIE=BEHEER%231%2E11680821; LEVEL2COOKIE=393733326632316433393936
0190: 39633839303961383736613833393865653261636234636231646637
01ca: Content-Length: 39
01de: Content-Type: application/x-www-form-urlencoded
020f:
0211: bt_Exporteer=exporteer&A5_St=1&Export=1
<= Recv header, 23 bytes (0x17)
0000: HTTP/1.1 100 Continue
<= Recv header, 27 bytes (0x1b)
0000: Server: Microsoft-IIS/5.0
<= Recv header, 37 bytes (0x25)
0000: Date: Fri, 16 Jul 2004 10:36:16 GMT
<= Recv header, 17 bytes (0x11)
0000: HTTP/1.1 200 OK
<= Recv header, 27 bytes (0x1b)
0000: Server: Microsoft-IIS/5.0
<= Recv header, 37 bytes (0x25)
0000: Date: Fri, 16 Jul 2004 10:36:16 GMT
<= Recv header, 19 bytes (0x13)
0000: Connection: close
<= Recv header, 51 bytes (0x33)
0000: Content-Disposition: anything;filename=export.tsv
<= Recv header, 22 bytes (0x16)
0000: content-length: 1058
<= Recv header, 57 bytes (0x39)
0000: Content-Type: application/download; name="\export.tsv\"
<= Recv header, 40 bytes (0x28)
0000: Expires: Fri, 16 Jul 2004 10:36:16 GMT
<= Recv header, 24 bytes (0x18)
0000: Cache-control: private
<= Recv data, 1065 bytes (0x429)
0000: .<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
0040: "http://www.w3.org/TR/html4/loose.dtd">...."Datum"."Starttijd"."
0080: Soort Gesprek"."Bestemming"."Duur/Volume"."Bedrag"."23-12-2003".
00c0: "08:22"."TEL"."0505019280"."00:00:20 min."."0,04"."23-12-2003"."
0100: 10:34"."TEL"."0505019280"."00:00:43 min."."0,09"."23-12-2003"."1
0140: 2:42"."TEL"."0505019280"."00:00:35 min."."0,08"."23-12-2003"."17
0180: :09"."TEL"."0505019280"."00:00:42 min."."0,09"."23-12-2003"."18:
01c0: 18"."TEL"."0505019280"."00:00:18 min."."0,04"."23-12-2003"."18:3
0200: 8"."TEL"."0505019280"."00:00:09 min."."0,02"."05-01-2004"."09:13
0240: "."TEL"."0505019280"."00:00:10 min."."0,02"."05-01-2004"."15:36"
0280: ."TEL"."0505019280"."00:00:34 min."."0,07"."06-01-2004"."08:17".
02c0: "TEL"."0505019280"."00:00:09 min."."0,02"."06-01-2004"."11:28"."
0300: TEL"."0505019280"."00:01:45 min."."0,23"."06-01-2004"."13:09"."T
0340: EL"."0505019280"."00:00:51 min."."0,11"."07-01-2004"."16:20"."TE
0380: L"."0505019280"."00:00:21 min."."0,05"."08-01-2004"."09:28"."TEL
03c0: "."0505019280"."00:00:15 min."."0,03"."08-01-2004"."12:42"."TEL"
0400: ."0505019280"."00:00:19 min."."0,04"."08-
== Info: Closing connection #0> ----------

> From: Daniel Stenberg[SMTP:DANIEL-CURL_at_HAXX.SE]
> Sent: Friday, July 16, 2004 11:47:15 AM
> To: curl tool talk
> Subject: Re: With Curl the last two lines are missing of all the
> Auto forwarded by a Rule
>
On Thu, 15 Jul 2004 a.j.vandenberg02_at_kpn.com wrote:

>> Does anyone got an idea what could be the cause?

Can you see if the Content-Length: headers are provided by the server, and
if
so, do they specify the actual expected sizes of the files?

--
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-07-16