| Author |
Best way to read a remote file
|
Peter Straw
Ranch Hand
Joined: Jan 08, 2002
Posts: 79
|
posted

0
|
Please can you tell me the best way to read a log file on a remote linux machine. I really just need to check that the file is empty. Many thanks.
|
 |
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35253
|
posted

0
|
|
What kind of access do you have to that machine - FTP, HTTP, NFS, SMB, Telnet, SSH, ... ?
|
Android apps – ImageJ plugins – Java web charts
|
 |
Peter Straw
Ranch Hand
Joined: Jan 08, 2002
Posts: 79
|
posted

0
|
Hi Ulf, It's ssh, possibly telnet and http, but doing it by ssh would be best.
|
 |
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35253
|
posted

0
|
|
There are a number of Java SSH libraries, e.g. sshtools and JSch.
|
 |
 |
|
|
subject: Best way to read a remote file
|
|
|