You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by "didongke@126.com" <di...@126.com> on 2023/07/27 10:09:07 UTC
Tika server extracts text content containing filename
Hi,
1.java contains the following content:
999999999999999999999999
I use the following command to extract text content from the Tika server:
curl -T “/home/ddk/1.java” http://127.0.0.1:12000/tika --header "Accept: text/plain" -H "Content-Disposition: attachment; filename=/home/ddk/1.java"
The returned content is:
/home/ddk/1.java999999999999999999999999
I don't understand why it includes the content after filename in the command.
if I use filename=xxx.java , it returns:
xxx.java999999999999999999999999
The Tika server is : tika-server-standard-2.7.0.jar
Please assist !
didongke@126.com