Merge pull request #1233 from x-way/fix-empty-dir-spider

Fix handling of empty SMB share folder
This commit is contained in:
Alex authored and GitHub committed 2026-09-06 22:19:34 +02:00
commit d640fb78b8
1 file changed
+2
+2
View File
@@ -127,6 +127,8 @@ class SMBSpiderPlus:
self.logger.debug(f"The folder {subfolder} does not exist.")
elif "STATUS_STOPPED_ON_SYMLINK" in str(e):
self.logger.debug(f"The folder {subfolder} is a symlink that cannot be followed. Skipping.")
elif "STATUS_NO_SUCH_FILE" in str(e):
self.logger.debug(f"The folder {subfolder} is empty.")
elif self.reconnect():
filelist = self.list_path(share, subfolder)
except NetBIOSTimeout as e: