cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Help with curl & forms

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 18 Feb 2009 11:03:09 +0100 (CET)

On Tue, 17 Feb 2009, Brad Demers wrote:

> curl -b cookies.txt -F "filefield=@/test1.jpg" -F
> "aiimage2=cj216200993826PM.jpg"
> http://holiday.____.com/admin/photoupdate_upload.asp

> < HTTP/1.1 500 Internal Server Error
> < Server: Microsoft-IIS/5.0
> Microsoft OLE DB Provider for ODBC Drivers
> error '80040e14'
> [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '='.

I would compare a LiveHTTPHeaders output with a curl --trace-ascii logfile to
make sure the requests are as similar as possible.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-18