Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: .NET SftpClient.ListDirectory() returns "." and ".."

$
0
0
@PLanderwyn,

"I find this pretty disturbing as they aren't real files and they can't be found in the directory..."

Well, there are some that would take issue with that statement. In fact, as we learn in UNIX/Linux early on:

"On a UNIX system, everything is a file; if something is not a file, it is a process."

You can read more, as well as the quote above, here.

As to whether SshNet should treat these files as files or not is probably a discussion for the author/developer to take up with you, but on a Windows or Linux host, you will find that .. and . are in fact files.

I hope you find this less disturbing! :)

pat
:)

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>