curl-users
RE: Please Helpme
Date: Fri, 23 Jul 2004 10:17:21 +0530
Well the Object moved problem can be solved by using -L ( Location ) of
curl
Try this hopefully your problem will get solved atlest of Object moved.
-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of alsarkis_at_bil.com.mx
Sent: Friday, July 23, 2004 1:50 AM
To: curl-users_at_cool.haxx.se
Subject: Please Helpme
Hi:
I use the cur program to try to get information from a web page that use a
form.
the coomand that i use to get the information is:
curl -o page.htm -d "Organismo=135&Fecha=19/07/2004"
http://www.scjn.gob.mx/Listas/Acuerdo/ListaConsultasFinal.asp
whe I tun this command i can not get the information, I put the -v option
to try to know
what append, and I get this:
----------------------------------------------------------------------------
---- * About to connect() to www.scjn.gob.mx port 80 * Connected to www.scjn.gob.mx (200.38.86.253) port 80 > POST /Listas/Acuerdo/ListaConsultasFinal.asp HTTP/1.1 User-Agent: curl/7.12.0 (i386-pc-win32) libcurl/7.12.0 zlib/1.2.1 Host: www.scjn.gob.mx Pragma: no-cache Accept: */* Content-Length: 30 Content-Type: application/x-www-form-urlencoded Organismo=135&Fecha=19/07/2004 % Total % Received % Xferd Average Speed T ime Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:21 --:--:-- 0< HTTP/1.1 302 Object moved < Transfer-Encoding: chunked < ~~~~~~~~~~~~~~: ~~~ < Date: Thu, 22 Jul 2004 20:03:35 GMT < Location: /listas/acuerdo/default.asp < Content-Type: text/html < Server: Microsoft-IIS/5.0 < MicrosoftOfficeWebServer: 5.0_Pub < X-Powered-By: ASP.NET < PICS-Label: (PICS-1.0 "http://www.rsac.org/ratingsv01.html" l by "administrato r_at_mail.scjn.gob.mx" on "2003.04.08T01:35-0500" exp "2004.04.08T12:00-0500" r (v 0 s 0 n 0 l 0)) < Set-Cookie: VisitorID=28879524; expires=Thu, 22-Jul-2004 05:00:00 GMT; domain= www.scjn.gob.mx; path=/ < Set-Cookie: ASPSESSIONIDACCTBBBD=KHPJEGPBFDPHEOBBHIKMILJD; path=/ < Cache-control: private 100 121 0 121 0 0 5 0 --:--:-- 0:00:21 --:--:-- 26 * Connection #0 to host www.scjn.gob.mx left intact * Closing connection #0 ---------------------------------------------------------------------------- ------ Can you help me to get the correct wey to get this work !!! Thank You Alberto S -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .Received on 2004-07-23