SSH into a system and browse the files in a particular folder using java -
i suppose ssh system , browse files in particular folder. using jsch library ssh system not sure how browse files. want user navigate through folders , select file similar jfilechooser. please can me this?
regards, colin
you have 3 options:
- this best option: if you're client able mount drive using ssh, mount drive , give them file chooser @ mount point.
linux , mac make easy mount ssh servers drive. on windows, you're gonna have use third party tools. whichever case, can use command's tool mount drive.
or can use sftp. haven't had success
- if want user pick files 1 specific directory , no else; meaning no sub-dirs... etc
you can make own gui , show content of dir. know content doing ls.
- if want file on system , possibly in nested directories
you can go through of files on remote server using this , re-render gui on clients side using this
Comments
Post a Comment