ListDirectory only returns directories and not files
If I use WinSCP GUI client, I am connected to the default directory of the SFTP server and I can see the single file it contains.
However, if I use C# and connect to the same exact server then use ListDirectory(".") I only receive the ".." and the current directory name. No matter what I try it seems I am not able to view the file.
What is the trick I am missing?
However, if I use C# and connect to the same exact server then use ListDirectory(".") I only receive the ".." and the current directory name. No matter what I try it seems I am not able to view the file.
What is the trick I am missing?