cURL / Mailing Lists / curl-users / Single Mail


Re: Problem with form data

From: Clam Starick <>
Date: Thu, 20 Mar 2008 20:40:04 -0700 (PDT)

I have changed my command line to
  curl.exe -location --output "affirm.txt" -F "userfile = @C:\Documents and Settings\Desktop\numbertest.bmp" ""
  cURL still returns data from the non-redirected site. Is there anything else I am missing?

Message: 5
Date: Thu, 20 Mar 2008 10:10:17 -0700
From: Dan Fandrich
Subject: Re: Problem with form data
Message-ID: <>
Content-Type: text/plain; charset=us-ascii

On Thu, Mar 20, 2008 at 01:47:30AM -0700, Clam Starick wrote:
> I have been attempting to submit form data to
> tesseract/ using the command line
> curl.exe --output "affirm.txt" -F "userfile=C:\Documents and Settings\Desktop\
> numbertest.bmp" ""
> Curl only returns data from the website.
> Not the redircted site
> 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

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
Received on 2008-03-21