Run SFTP commands from the calling machine.
Lists the contents of the directory at the given path on a remote SFTP server.
the path of the directory to list
The remote sftp server address - ip address or hostname and optionally port if not the default port 22 ie192.168.20.2:22
SFTP options object
The directory listing - Directory Listing object
// retrieves the contents of `/mnt/centralstore` as DirectoryListing
const storeDirectoryListing = busby.sftp.listDirectory("192.168.20.4:21", "/mnt/centralstore", {username:"test", password:"test1"})