Hi, On Sun, Jul 22, 2012 at 12:34 PM, Jukka Zitting <[email protected]> wrote: > On Sun, Jul 22, 2012 at 2:23 AM, Oliver Steinau <[email protected]> > wrote: >> However.... still no success with the tika-app. Here's what I tried (bear >> with me, I'm on a windows system...) > > The problem sounds as if the netcat command you're using on Windows > has trouble closing it's end of the TCP connection after it has sent > the full file to the server. Without a partial close of the > connection, Tika has no way of knowing whether the document has > already been fully transferred or if there still are some bits to > read. As a result the server just blocks waiting for more bytes or the > end of stream from the client.
To verify whether the problem is related to nc instead of Tika, try using "nc -l localhost 9998 > output.pdf" as the server. If the "nc localhost 9998 < somefile.pdf" command blocks also with that server, then you have a problem with your nc version. BR, Jukka Zitting
