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: script help

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 10 Apr 2006 10:26:12 -0700

On Mon, Apr 10, 2006 at 12:10:17PM -0400, Blurry wrote:
> You all have been helping with trying to script a login session. The
> user experience
> 1) Key in URL
> 2) Get password screen
> 3) enter creds
> 4) get final page.
>
> But there is alot more going on, I have curl logging in and getting
> part of the way but I can't get past step #5. If you see the entire
> process below, am I kidding myself trying to write a script that does
> all that to load ONE FRICKIN page !!!

It looks like step #6 is the last one you're probably interested in; the
remainder are images and JavaScript code that's loaded for that page. You
need to create a log like the one you gave but including the POSTed data.
Then you can compare what curl sends with what a browser sends and
spot the differences. If step #5 is where you're stumbling, then it's
probably the POSTed data in that step that's different from what the
server expects, or the cookie isn't sent back.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-04-10

These mail archives are generated by hypermail.

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

File upload with ASP.NET