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

Curl and Invision Board

From: Cody Maggard <cody.maggard_at_ttu.edu>
Date: Thu, 15 Apr 2004 20:36:04 -0500

I'm trying to set cookies by using Curl to log in. It doesn't seem to be working right though. There's a few input fields:
  referer: http://www.site.com/forums/index.php/
  UserName: name
  PassWord: pass
  CookieDate: 1
  
And here's the form tag data
  form action=http://www.site.com/forums/index.php?act=Login&CODE=01 method="post" name='LOGIN'
  
I'm trying to use the following command line to store the cookies in cookie.txt

curl -d "referer=http%3A%2F%www.site.com%2Fforums%2F&UserName=name&PassWord=pass&CookieDate=1" -e www.site.com/forums/index.php -c cookies.txt -L www.site.com/forums/index.html

Can anyone see what's wrong with this, or why it wouldn't be working?

-Cody
Received on 2004-04-16

These mail archives are generated by hypermail.

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

File upload with ASP.NET