AlphaFS: InvalidOperationException on Directory.EnumerateFileSystemEntries()

Hi,

If I run these commands under PowerShell:

$path = "\\Ds216j\sauvegardes\Documents" # it's a shared folder on a Synology NAS
[Alphaleonis.Win32.Filesystem.Directory]::GetFileSystemEntryInfo($path)
[Alphaleonis.Win32.Filesystem.Directory]::EnumerateFileSystemEntries($path)

I get the following output:

1526105805067blob

As you can see, the target folder is well identified as a directory by AlphaFS. However, if I try to enumerate the contents of this folder, I get an error “the target directrory is a file, not a directory”. Does anybody know why?

Thanks.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (8 by maintainers)

Commits related to this issue

Most upvoted comments

I will propose a modified version of AlphaFS to the user concerned by this issue to check if the patch works. I’ll keep you informed.