0 / 60 seg.

How does this code facilitate SFTP file listing?

ChannelSftp sftpChannel = (ChannelSftp) session.openChannel("sftp");
sftpChannel.ls("/directory");