cURL / Mailing Lists / curl-users / Single Mail


Re: Post a file to a URL

From: Daniel Stenberg <>
Date: Tue, 23 Oct 2007 10:14:06 +0200 (CEST)

On Mon, 22 Oct 2007, Will Weatherford wrote:

> If this would be totally wrong:
> "C:\Boeing\curl.exe" --max-time 6 -F
>> input_file=@"C:\Boeing\V34True
>> .ucf;type=multipart/form-data"
>>> "C:\Boeing\V34TrueUCFOutput.txt"
> What would be correct?

Drop the type= part, as that's very unlikely what you want. But as I said,
that doesn't explain your connection problems. I would assume a line like

   curl -F input_file=@C:\Boeing\V34True.ucf

(on a single line)

But then it does look strange that you send the POST to a HTML page...

  Commercial curl and libcurl Technical Support:
Received on 2007-10-23