cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: post textarea field with the content from a text file

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 20 Sep 2006 17:38:58 -0700

On Wed, Sep 20, 2006 at 07:42:49PM -0400, Qianqian Fang wrote:
> there is a textarea, and a few hidden fields. what I want is to post a
> text file on my disk
> as the content of the testarea (field=text).
>
> curl -F text=@Redbird.f90 -F oldtime=1158794874 -F title=Redbird_source
> -F summary=Initial -F Save=Save http://wenq.org/eindex.cgi

You want to use -d instead of -F here. -F causes a different style of form
which the Wiki likely doesn't expect.

>>> Dan

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