cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: ERROR - curl: (26) failed creating formpost data

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 26 Oct 2007 18:58:56 -0700

On Fri, Oct 26, 2007 at 09:16:21PM -0400, Michael Peluso wrote:
> bg image(cid:390321201_at_27102007-3153)
> ERROR - curl: (26) failed creating formpost data

This code should give you a clue: There was a problem reading a
local file or an error returned by the read callback.

> I'm completely new to cURL.
> I've trying to use it from the command line (Windows 2000), getting the above
> error, when trying to send a file.
>
>
> D:\CURL\curl-7.17.0>curl https://access.webmd.com/ITS/post.aspx -F "wsUSerID=
> <IT
> ST_AQDMSI>" -F "wsPassword=<z7QL8q9a>" -F "wsMessageType=X12" -F
> "wsRealtimeFile
> =@<d:\270testFiles\270test2S.txt"

The -F option takes either a @ or < to specify a file--not both.

>>> Dan

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