cURL / Mailing Lists / curl-users / Single Mail


Re: Curl basics

From: Ralph Mitchell <>
Date: Wed, 12 Mar 2008 09:03:01 -0500

On Wed, Mar 12, 2008 at 7:22 AM, andrew holway <> wrote:

> No still the same, after running the second command it says "no cookie!"
> Im not sure if that is coming from curl or server I think curl
> running these
> curl --verbose -A="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
> Gecko/20071022 Ubuntu/7.10 (gutsy) Firefox/" -d
> "name=bobscule&password=74m5r6up4" -c=jar
> curl -L -b=jar -d
> "CityScreen&function=upgradeBuilding&id=60872&position=3&level=1"

Did you try it without the equal sign??

   curl -L -b jar -d .....

Also, you should be aware that "-b jar" means "load up cookies from the file
called jar", which would be empty unless cookies have been put in it
previously. You might want to add "-c jar" so that curl writes out any new
cookies it receives.

Ralph Mitchell
Received on 2008-03-12