You have to use sftpChannel.ls("Path to dir");
which will returns list of files in the given path as a vector and you have to iterate on the vector to download each file sftpChannel.get();
Vector<ChannelSftp.LsEntry> list = sftpChannel .ls(".");
// iterate through objects in list, and check for extension
for (ChannelSftp.LsEntry listEntry : list) {
sftpChannel.get(listEntry.getFilename(), "fileName");
}
}