cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem with form data

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 20 Mar 2008 10:10:17 -0700

On Thu, Mar 20, 2008 at 01:47:30AM -0700, Clam Starick wrote:
> I have been attempting to submit form data to http://appsv.ocrgrid.org/
> tesseract/ using the command line
>
> curl.exe --output "affirm.txt" -F "userfile=C:\Documents and Settings\Desktop\
> numbertest.bmp" "http://appsv.ocrgrid.org/tesseract/"
>
> Curl only returns data from the http://appsv.ocrgrid.org/tesseract/ website.
> Not the redircted site http://appsv.ocrgrid.org/cgi-bin/weocr/
> submit_tesseract.cgi with the result.
>
> Does anyone know what I am doing wrong?

Have you tried the --location option? And are you sure you don't want an
@ before your file name in the -F option?

>>> Dan

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