I need to list the files in the current directory without getting the child directories. Is there a way to do this?
filePath = "."
For Each f As Renci.SshNet.Sftp.SftpFile In ssh2.ListDirectory(filePath)
fileList.Add(f.Name)
Next