cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Access is denied due to an ACL set Dan Fandrich (2007-06-29)

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 29 Jun 2007 22:42:42 -0700

On Fri, Jun 29, 2007 at 04:49:57PM -0700, Guirong Wang wrote:
> Thanks for your quick reply. Actually I was using F option. The following is
> the command I used based on the form fields caught in the LiveHTTPHeaders
> (shown in my first post of the thread):
>
> curl -L -b header.txt -b "siLockLongTermInstID=6688&DMZCookieTest=342156"

I don't think you can use -b to set two cookies at once; use another -b for
the second cookie.

> -v -F "transaction=fileuploadnowiz&cookie=siLockLongTermInstID%3D6688%3B%2

You're using a shortcut to set multiple parameters at once, but it probably
doesn't work the way you want it to with -F. Use multiple -F to be safe
(although didn't someone else already say to use -d instead?)
compatible with

> 0ASP.NET_SessionId%3Dnlm0vovxnzz1af55gyb2davx%3B%20DMZCookieTest%3D342156&
> server=www.somesite.net&url=/home/humanresource.aspx&
> instid=6688&customwizlogoenabled=1&customwiznameup=
> INSUISFT+Upload+Wizard&Arg12=home&Arg06=559187&Arg01=
> 648976&Arg02=@test1.txt&Upload+The+File=-+Upload+-" "https://www.somesite.net/
> MOVEitISAPI/MOVEitISAPI.dll?action=upload_nowiz"

You're tacking a -d style parameter to the end of the URL
(i.e. ?action=upload_nowiz)--is that really what you want?

>>> Dan

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