cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: NYtimes.com - trying to save to file, but nothing returns

From: Mike <sultanoswat_at_yahoo.com>
Date: Tue, 27 Nov 2007 21:37:24 -0500

OK tried using -l, (still no file saved locally) here is my trace file:

== Info: About to connect() to www.nytimes.com port 80 (#0)
== Info: Trying 199.239.137.245... == Info: connected
== Info: Connected to www.nytimes.com (199.239.137.245) port 80 (#0)
=> Send header, 348 bytes (0x15c)
0000: GET /glogin?URI=http://www.nytimes.com/2007/10/28/sports/playmag
0040: azine/28talkingpoints.html&OQ=_rQ3D1&OP=546a875eQ2FSmQ2A8SQ3D2_Q
0080: 7DL22PuSu((sS-(SuQ5DSQ7DJ2LPQ7DSJQ3AMQ3CqM6MeckQ2ASuQ5DPMQ3AQ5Ec
00c0: k6J2ckPQ7DFQ5BPqQ3A HTTP/1.1
00de: User-Agent: curl/7.17.1 (i586-pc-mingw32msvc) libcurl/7.17.1 Ope
011e: nSSL/0.9.7e zlib/1.2.3
0136: Host: www.nytimes.com
014d: Accept: */*
015a:
<= Recv header, 32 bytes (0x20)
0000: HTTP/1.1 302 Moved Temporarily
<= Recv header, 32 bytes (0x20)
0000: Server: Sun-ONE-Web-Server/6.1
<= Recv header, 37 bytes (0x25)
0000: Date: Wed, 28 Nov 2007 02:31:26 GMT
<= Recv header, 25 bytes (0x19)
0000: Content-type: text/html
<= Recv header, 116 bytes (0x74)
0000: Set-cookie: RMID=272cf6385a87474cd2fee5cd; expires=Thursday, 27-
0040: Nov-2008 02:31:26 GMT; path=/; domain=.nytimes.com
<= Recv header, 81 bytes (0x51)
0000: Set-cookie: NYT_GR=474cd7ae-SvUfYzBrGvGzjvW9Civ4UQ; path=/; doma
0040: in=.nytimes.com
<= Recv header, 115 bytes (0x73)
0000: Set-cookie: NYT-S=0MizHBF2odbhPDXrmvxADeHwihZHCsfZlUdeFz9JchiAI6
0040: GpR90PNu0YV.Ynx4rkFI; path=/; domain=.nytimes.com
<= Recv header, 103 bytes (0x67)
0000: Location: http://www.nytimes.com/2007/10/28/sports/playmagazine/
0040: 28talkingpoints.html?_r=1&oref=slogin
<= Recv header, 40 bytes (0x28)
0000: Expires: Thu, 01 Dec 1994 16:00:00 GMT
<= Recv header, 25 bytes (0x19)
0000: Cache-control: no-cache
<= Recv header, 18 bytes (0x12)
0000: Pragma: no-cache
<= Recv header, 28 bytes (0x1c)
0000: Transfer-encoding: chunked
<= Recv header, 2 bytes (0x2)
0000:
<= Recv data, 5 bytes (0x5)
0000: 0
0003:
== Info: Connection #0 to host www.nytimes.com left intact
== Info: Closing connection #0

Also tried the url given to me from http://nytimes.blogspace.com/genlink

The tracefile from that one (again no file saved):

== Info: About to connect() to www.nytimes.com port 80 (#0)
== Info: Trying 199.239.137.245... == Info: connected
== Info: Connected to www.nytimes.com (199.239.137.245) port 80 (#0)
=> Send header, 263 bytes (0x107)
0000: GET /2007/10/28/sports/playmagazine/28talkingpoints.html?ex=1351
0040: 310400&en=ecf720c3005783fb&ei=5090&partner=rssuserland&emc=rss H
0080: TTP/1.1
0089: User-Agent: curl/7.17.1 (i586-pc-mingw32msvc) libcurl/7.17.1 Ope
00c9: nSSL/0.9.7e zlib/1.2.3
00e1: Host: www.nytimes.com
00f8: Accept: */*
0105:
<= Recv header, 32 bytes (0x20)
0000: HTTP/1.1 301 Moved Permanently
<= Recv header, 32 bytes (0x20)
0000: Server: Sun-ONE-Web-Server/6.1
<= Recv header, 37 bytes (0x25)
0000: Date: Wed, 28 Nov 2007 02:33:30 GMT
<= Recv header, 19 bytes (0x13)
0000: Content-length: 0
<= Recv header, 25 bytes (0x19)
0000: Content-type: text/html
<= Recv header, 351 bytes (0x15f)
0000: Location: http://www.nytimes.com/glogin?URI=http://www.nytimes.c
0040: om/2007/10/28/sports/playmagazine/28talkingpoints.html&OQ=_rQ3D1
0080: Q26exQ3D1351310400Q26enQ3Decf720c3005783fbQ26eiQ3D5090Q26partner
00c0: Q3DrssuserlandQ26emcQ3Drss&OP=48361ef6Q2FQ5BQ7DXEQ5BQ5En_at_uQ3Bnnr
0100: Q26Q5BQ26WW1Q5BQ2BWQ5BQ26Q3DQ5Bu9nQ3BruQ5B9Q22B6iBcBzQ2FVXQ5BQ26
0140: Q3DrBQ22jQ2FVc9nQ2FVruJ_riQ22
<= Recv header, 2 bytes (0x2)
0000:
== Info: Connection #0 to host www.nytimes.com left intact
== Info: Closing connection #0
Received on 2007-11-28