cURL / Mailing Lists / curl-users / Single Mail

curl-users

cookies + jsp = trouble

From: Jake Peavy <djstunks_at_gmail.com>
Date: Wed, 23 Nov 2005 17:29:07 -0700

OK, just having some (typical) problems downloading a file.

The file is the zip listed on this page:
http://www130.nortelnetworks.com/cgi-bin/eserv/cs/main.jsp?cscat=SWDETAIL&SoftwareOID=363185

Through HTTPLiveHeaders I see a couple of different 200 and 302 return pages
setting cookies. However, when I run curl as follows, I don't get any
cookies in the jar.

Could it be because of the javascript?

TIA for any advice, but if nobody has the time/inclination to look into this
I totally understand.

-jp

Curl command:

curl -K curl.config

curl.config:

--verbose
--location
--remote-name
--user-agent "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8)
Gecko/20050511 Firefox/1.0.4"
--referer "
http://www130.nortelnetworks.com/cgi-bin/eserv/cs/main.jsp?cscat=SWDETAIL&SoftwareOID=363185
"
--cookie rfo.cookie
--cookie-jar rfo.cookie

 --url "
http://www130.nortelnetworks.com/cgi-bin/eserv/cs/main.jsp?level=6&category=10&subcategory=6&subtype=&SoftwareOID=363185&swRendId=191270&swFormat=zip
"

curl version:

curl 7.12.3 (i386-pc-win32) libcurl/7.12.3 OpenSSL/0.9.7c zlib/1.2.1
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: Largefile NTLM SSL libz
Received on 2005-11-24