cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: [Bulk] Re: Curl in windows unable to do the same as curl in linux...

From: Chris <joker_oslo_at_yahoo.no>
Date: Fri, 11 Sep 2009 17:42:17 +0200

Jochen Roderburg wrote:
> Zitat von Chris <joker_oslo_at_yahoo.no>:
>
>> Hi I have this command that I try to get to login from a windows system.
>> Om my linux system it logs on just like that, on windows I get a
>> blank page.
>>
>> curl -k -L -b kake -c kake -d
>> "USER=xxx+xxx&PASSWORD=xxx&TARGET=%2Fnol%2Fcda%2Fshow%3FNFE_startLogin%3Dtrue%26SMLOCALE%3DNO-NO&SMLOCALE=NO-NO&SMAUTHREASON=0&SiteMinderLogin=yes"
>> -o page1.html https://site.com/siteminderagent/forms/login.fcc
>>
>> Is it somthing wrong with curl under windows or do I need to give
>> it other arguments?
>
> If you are doing this in a Windows batch file you have to double all
> %-Characters.
>
> J.Roderburg
>
>
>
That was precisely what was wrong.

Thank you so much, you made my day!

Chris

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-09-11