64Bit1990
64Bit1990

Reputation: 330

Reading file on remote server via Java

I am developing a Java application through which I need to read the log files present on a server and perform operations depending on the content of the logs. Files range from 3GB up to 9GB. Here on stack I have already read the discussion about reading large files with java, I am attaching the link:

Java reading large file discussion

In the discussion, the files are read locally, in my case i have to retrieve and read the file on the server, is there an efficient way to achieve this? I would like to avoid having to download files given their size. I had thought about using URL Reader to retrieve the files, but I have doubts about the speed of execution. The files I need to recover are under the path C:\production\LOG\file.log

Do you have any suggestions or advice?

Upvotes: 1

Views: 139

Answers (0)

Related Questions