Hi, I know how to send solrconfig.xml and schema.xml files to SolR using curl commands. But my problem is that i want to send them with java, and i can't find a way to do so. I used HttpComponentsand got http headers before the file begins, which SAX parser does not like at all.
What is the best way to send this files from a java program ? What i have once i sent the file is something like that : *��: solr_admin solr_resources resource_value��--9NDJNu2AW4jtIyX6ggQAgEqI3FXp3JpDZ6 Content-Disposition: form-data; name="solrconfig.xml"; filename="solrconfig.xml" Content-Type: application/xml; charset=ISO-8859-1 Content-Transfer-Encoding:** binary* <config><!-- In all configuration below, a prefix of "solr." for class names is an alias that causes solr to search appropriate packages, including org.apache.solr.(search|update|request|core|analysis) [Continued...]