When Listing files using ListDirectory is there a way to not include child directories?

Dec 11, 2013 at 9:00 PM
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)