SSH.NET
SSH.NET copied to clipboard
Why IsReguarFile() returns false on a text file?
Hi,
I have created a text file, but when I step through the code IsRegularFile() returns false.
What is the reason for this?
Regards Li
I have the same problem for files with a .dat extension
it's an error inside the sftpClient.ListDirectory()
if you get attributes to the same file via sftpClient.GetAttributes(), you will have IsRegularFile = true
#bug