Is there a way to reliably detect a removed directory via SMB on Windows?
Summary The problem of reliably detecting a removed directory via SMB on Windows is a challenging one, especially when dealing with cached results from the Windows API. Cache bypassing is essential to get the most up-to-date information about the directory’s existence. However, as the Windows API (e.g., GetFileAttributesEx, NtQueryInformationFile) doesn’t provide a straightforward way to … Read more