As a backport ticket from #35435, we can revise FileSystemUtils.copyRecursively toward tolerating different source/destination file systems, as well as leniently handling UnsupportedOperationException from File.toPath() in DataBufferUtils as well as ResourceHttpMessageWriter.
As a backport ticket from #35435, we can revise
FileSystemUtils.copyRecursivelytoward tolerating different source/destination file systems, as well as leniently handlingUnsupportedOperationExceptionfromFile.toPath()inDataBufferUtilsas well asResourceHttpMessageWriter.