cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Trying to download a filled in webpage

From: Robert Baker <rbaker_at_bakersoftwaretechnologies.com>
Date: Tue, 3 Mar 2009 12:58:55 -0800

Hi all, I have found a way to get around the browser not supported issue, You need to use -A "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)". So I have bypassed this problem, but I am still not able to download the web page. At the end of the debugging mode it displays [data not shown] Here is the output if this helps any, Thanks, Rob * About to connect() to local.live.com port 80 (#0) * Trying 65.55.241.167... connected * Connected to local.live.com (65.55.241.167) port 80 (#0) > GET /default.aspx?v=2&amp;rtp=adr.62000S0Main0street,Ashtabula,OH~adr.43380Lake0Road0W,Ashta H~adr.23000W019th0St,Ashtabula,OH HTTP/1.1 > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Fir .0.6 (.NET CLR 3.5.30729) > Host: local.live.com > Accept: */* > < HTTP/1.1 301 Moved Permanently < Content-Length: 274 < Content-Type: text/html < Location: http://maps.live.com/default.aspx?v=2&amp;rtp=adr.62000S0Main0street,Ashtabula,OH~ 380Lake0Road0W,Ashtabula,OH~adr.23000W019th0St,Ashtabula,OH < Server: Microsoft-IIS/6.0 < P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo" < X-Powered-By: ASP.NET < X-VE-Srv: 31011 < Date: Tue, 03 Mar 2009 20:54:14 GMT < * Ignoring the response-body { [data not shown] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 137 274 137 274 0 0 761 0 --:--:-- --:--:-- --:--:-- 0* Connection #0 t local.live.com left intact * Issue another request to this URL: 'http://maps.live.com/default.aspx?v=2&amp;rtp=adr.62000S street,Ashtabula,OH~adr.43380Lake0Road0W,Ashtabula,OH~adr.23000W019th0St,Ashtabula,OH' * About to connect() to maps.live.com port 80 (#1) * Trying 80.67.74.127... connected * Connected to maps.live.com (80.67.74.127) port 80 (#1) > GET /default.aspx?v=2&amp;rtp=adr.62000S0Main0street,Ashtabula,OH~adr.43380Lake0Road0W,Ashta H~adr.23000W019th0St,Ashtabula,OH HTTP/1.1 > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6) Gecko/2009011913 Fir .0.6 (.NET CLR 3.5.30729) > Host: maps.live.com > Accept: */* > < HTTP/1.1 200 OK < Cache-Control: no-cache, no-store < Pragma: no-cache < Content-Length: 182303 < Content-Type: text/html; charset=utf-8 < Expires: -1 < X-Powered-By: ASP.NET < P3P: CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo" < X-VE-Srv: 31012 < X-AspNet-Version: 2.0.50727 < Date: Tue, 03 Mar 2009 20:54:15 GMT < Connection: keep-alive < Set-Cookie: Session=ID=9f42ed37-d040-4c58-baeb-799515694ad3; path=/ < Set-Cookie: CID=b94a7284dada46f88151421eb1d3a43b; expires=Mon, 01-Jan-4001 07:59:59 GMT; pat < Set-Cookie: CDate=20090303; expires=Mon, 01-Jan-4001 07:59:59 GMT; path=/ < Set-Cookie: SID=30f08152bc3c4377bfaee0d606e93152; expires=Tue, 03-Mar-2009 21:24:15 GMT; pat < Set-Cookie: wipsh=true; expires=Thu, 02-Apr-2009 07:00:00 GMT; path=/ < Set-Cookie: wipts=633554312581650697; expires=Thu, 02-Apr-2009 07:00:00 GMT; path=/ < Set-Cookie: AFORM=NOFORM; expires=Mon, 20-Jul-2015 23:59:59 GMT; path=/ < Set-Cookie: mkt1=norm=CA; domain=.live.com; path=/ < Set-Cookie: mkt2=ui=en-CA; domain=maps.live.com; path=/ < Set-Cookie: MUID=E151D539CCEE4CAFB9584F964DE5568E; expires=Mon, 20-Jul-2015 23:59:59 GMT; do live.com; path=/ < Set-Cookie: OrigMUID=E151D539CCEE4CAFB9584F964DE5568E; expires=Mon, 20-Jul-2015 23:59:59 GMT in=.live.com; path=/ < Set-Cookie: OVR=flt=0&PerfTracking=0&DomainVertical=0&Cashback=0&MSCorp=0; domain=.live.com; / < Set-Cookie: RMS=T=48; path=/ < Set-Cookie: SRCHD=D=616134&AF=NOFORM; expires=Mon, 20-Jul-2015 23:59:59 GMT; domain=.live.co h=/ < Set-Cookie: SRCHSESS=GUID=E7B7B619DEEB4EBF872111F849AD6F65&TS=1236113655; expires=Tue, 03-Ma 21:14:15 GMT; path=/ < Set-Cookie: SRCHUID=V=2&GUID=12E902F4FE3B4613B35D32B7DC0AF888; expires=Mon, 20-Jul-2015 23:5 MT; path=/ < Set-Cookie: SRCHUSR=AUTOREDIR=0&GEOVAR=&DOB=20090303; expires=Thu, 03-Mar-2011 20:54:15 GMT; / < { [data not shown] 100 178k 100 178k 0 0 62134 0 0:00:02 0:00:02 --:--:-- 103k* Connection #1 t maps.live.com left intact * Closing connection #0 * Closing connection #1

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET