Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: help with form fill

From: Linus Nielsen Feltzing <>
Date: Wed, 26 Mar 2008 11:20:32 +0100

Pullus Cuetlachtli wrote:
> curl -A "Mozilla/5.0" -b cookies.txt -c newcookies.txt -k -u
> admin:password -F policy=@xxxx.img

To begin with, you are posting to the wrong URL. You need to use the URL
specified in the form action attribute, in this case

curl -A "Mozilla/5.0" -b cookies.txt -c newcookies.txt -k -u
admin:password -F "policy=@xxxx.img"

I guess your script has to extract the correct URL, as I suspect the
swsessioncookie would be different each time.

Received on 2008-03-26

These mail archives are generated by hypermail.

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

File upload with ASP.NET