cURL / Mailing Lists / curl-users / Single Mail

curl-users

Unable to access webpage

From: Sagar Saibi <sagar.saibi_at_patni.com>
Date: Mon, 22 Nov 2004 16:16:54 +0530

Hi,
        I am facing a problem accessing a site.I have to traverse through 2 pages
which i am able to capture prior to the page i want to capture and becoming
unsucessful in doing so.

Details are as follows :

page 1 :

command used : curl -sc cookie "http://166.122.201.55/jud/Hoohiki/main.htm"
>try.htm
status : successful

page 2 :

command used : curl -L -sb cookie -sc cookie1
"http://166.122.201.55/jud/Hoohiki/Search.jsp" -A "Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)" >try1.htm
status : successful

I have a post parameter to be passed to this page namely case id :
1PC000052403 and i want to capture the resultant page.
page 3 :
command used : curl -A "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
.NET CLR 1.0.3705)" -b cookie1 -d "casenumber=1PC000052403"
"http://166.122.201.55/jud/Hoohiki/JSAPM52.jsp" >try2.htm
status : unsuccessful
Error I get : An error has occured. Please exit <javascript:window.close()>
this page and try again
What could be the root cause and the solution for this ?

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin_at_patni.com and delete this mail.
_____________________________________________________________________
Received on 2004-11-22