curl-users
A new Issue!!
Date: Thu, 06 Feb 2003 14:13:10 -0800
Hi
I ran the following two statemens to get pages from americawest.html. It returns part of the needed ouput but replaces the rest with a javascript code to cause an error when i open the file.
Does anybody have any suggestion. I am using linux curl 7.10.3 with SSL support.
Thanks
Rahul
------STMTS------------------
curl -s -o aw.html --dump-header headers -c "./cookies/amw" -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" -L "http://www.americawest.com/default.asp"
curl -i -o sw.html -b "./cookies/amw" -c "/airlines/cookies/amw1" -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" -d "SubmitForm=True&ETD1=ScheduleSubmit][UserKey][/UserKey][Trip]RT[/Trip][SessionID][/SessionID][TicketType][/TicketType][NumFlights]10[/NumFlights][eCert][/eCert][Specials][DiscountType][/DiscountType][Discount][/Discount][SaleID][/SaleID][SaleType][/SaleType][/Specials][OD index=~0~][Origins][City]PHX[/City][Country]USA[/Country][NearbyAirports]No[/NearbyAirports][/Origins][Destinations][City]LAS[/City][Country][/Country][NearbyAirports]No[/NearbyAirports][/Destinations][StartDate]2002-02-05T07:00[/StartDate][EndDate]2002-02-06T03:00[/EndDate][/OD][OD index=~1~][Origins][City]LAS[/City][Country]USA[/Country][NearbyAirports]No[/NearbyAirports][/Origins][Destinations][City]PHX[/City][Country][/Country][NearbyAirports]No[/NearbyAirports][/Destinations][StartDate]2002-03-05T07:00[/StartDate][EndDate]2002-03-06T03:00[/EndDate][/OD][Passengers][NumAdults]1[
/NumAdults][NumSeniors]0[/NumSeniors][NumYouth]0[/NumYouth][NumChildren]0[/NumChildren][NumInfants]0[/NumInfants][NumLapchild]0[/NumLapchild][/Passengers][/ScheduleSubmit]&priority-normal=cvgQuery.returnSlice.timeWindowTag&OriginNBA0=No&DestinationNBA0=No&NumFlights=10&NumYouths=0&NumInfants=0&NumInfants_Lap=0&Trip=RT&Origin=LAX,USA&Destination=BWI,USA&1stMonth_1=3&1stDay_1=8&1stTime_1=07:00&1stMonth_2=3&1stDay_2=15&1stTime_2=07:00&TicketType=COACH&NumAdults=1&NumSeniors=0&NumChildren=0&persons=&eCert=" -L "http://www.americawest.com/travelplanning/reservations/tp_selecttimes.asp"
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-02-06