cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Help to access Postini site using Curl.

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 7 May 2008 23:41:45 -0700

On Thu, May 08, 2008 at 11:29:14AM +0530, Pawar, Ankur wrote:
> I am trying to execute some batch command on Postini site using curl.
>
> But not able to execute the "Submit job"
>
> curl -b cookies.txt -x proxy:80 -d "batchmode=Submit job"
> https://ac-s8.postini.com/exec/admin_batch
> curl -b cookies.txt -x proxy:80 -d "batchmode=Submit%20job"
> https://ac-s8.postini.com/exec/admin_batch

Chances are you need to log in somehow to authenticate yourself. And
you need the -c option to write any cookies so they can be used by
further curl invocations. See http://curlm.haxx.se/docs/httpscripting.html
for some hints on all this.

>>> Dan

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