Re: upload PDF using curl

2010-07-03 Thread Lance Norskog
There should be a single-quote before the http:. Is this missing in the command you tried, or is thus just a cut&paste error? To see exactly what command lines the shell runs, do 'set -x'. On Fri, Jul 2, 2010 at 5:05 PM, Chris Hostetter wrote: > > : I am using Windows XP, curl 7.19.5, Solr 1.4.1

Re: upload PDF using curl

2010-07-02 Thread Chris Hostetter
: I am using Windows XP, curl 7.19.5, Solr 1.4.1 : : the command is: : : curl http://localhost:8983/solr/update/extract?literal.id=doc1&commit=true' -F "myfi...@tutorial.pdf" : : I got error : : HTTP Error: 400. missing content stream. : 'commit' is not a recognized as an internal or extern