I am working on a project that requires reading directory content from a network share.
Is there a way to use fs.readdir() on a network share? I tried:
a) inputting in the share location directly
\\000.00.00.00\Example\Images
b) mounting the share as a drive and using the drive location
Z:\Images
In both cases, fs was unable to find the directory.
Alternatively, are they any modules that can read directory contents using the file: protocol? I tried: request, needle, and SMB2 with no success.