lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Moises <moi...@shoptimax.de>
Subject Re: stream.url
Date Thu, 02 Sep 2010 08:14:57 GMT
  Hi,

well, you'll have to write a routine which escapes all filenames before 
transmitting... wether in a shell, in Java, PHP, Javascript or whereever 
you are submitting your CURL calls.
Here is a javascript example that helps with escaping: 
http://www.xs4all.nl/~jlpoutre/BoT/Javascript/Utils/endecode.html

Cheers,
Stefan

Am 02.09.2010 10:07, schrieb satya swaroop:
> Hi stefan,
>                 I used escape charaters and made it... It is not problem for
> a single file of 'solr&apache' but it shows the same problem for the files
> like Wireless lan.ppt, Tom info.pdf.....
>
> the curl i sent is::
>
> curl "
> http://localhost:8080/solr/update/extract?stream.url=http://remotehost:port/file_download.yaws%3Ffile=solr<http://localhost:8080/solr/update/extract?stream.url=http://remotehost:port/file_download.yaws?file=solr>
> %20%26%20apache.pdf&literal.id=schb5"
>
> Regards,
> satya
>

-- 
*******************************************
Stefan Moises
Senior Softwareentwickler

shoptimax GmbH
Guntherstraße 45 a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck

Tel.: 0911/25566-25
Fax:  0911/25566-29
moises@shoptimax.de
http://www.shoptimax.de
*******************************************


Mime
View raw message