That does actually help. Running GraalVM 11.0.12, not sure if it's version or vendor specific.
The cause seems to be NIO itself specifically inside of sun.nio.fs.WindowsChannelFactory.open(...). It doesn't seem to be passing the appropriate flag to WindowsNativeDispatcher.CreateFile(...). -----Original Message----- From: Rod Widdowson <r...@steadingsoftware.com> Sent: Friday, November 19, 2021 9:49 AM To: 'Commons Users List' <user@commons.apache.org> Subject: RE: [io] FileUtils.listFiles activates forces OneDrive files to download? > It sounds like it is up to OneDrive to do what it pleases when you ask > it for a file reference... FWIW and technically you need to send FILE_FLAG_OPEN_NO_RECALL at the Win32 level. But I am not sure that helps anyone. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org