cURL / Mailing Lists / curl-users / Single Mail


Re: Problem with form data

From: Dan Fandrich <>
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
> 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

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-03-20