Hi I am developing an application which connects to remote server and browses through different directories.
Here I want to show only directories and text files to user. Using SFTP channel in JSch, I can execute
ls(""). Then loop the returned entries, and select only those you want.
I.e. those that have
LsEntry.getFilename() ending with