When running application from different platform than server, the remote file path gets corrupted.
I am running logviewer from windows and try to ssh to linux server. The file name given in linux format get converted to windows format.
i.e. ssh://server/opt/filename.log get translated into c:\opt\filename.log
Issue is in TailerSsh class
filePath = new File(uri.getPath()).getCanonicalPath();
When running application from different platform than server, the remote file path gets corrupted. I am running logviewer from windows and try to ssh to linux server. The file name given in linux format get converted to windows format. i.e. ssh://server/opt/filename.log get translated into c:\opt\filename.log
Issue is in TailerSsh class filePath = new File(uri.getPath()).getCanonicalPath();