$ 0 0 In the 'List directory' example there's a sftp.Connect(); missing right before var files = sftp.ListDirectory(remoteDirectory);