I would like to know if anybody has some experience with portable libraries for manipulating files, directories and directory trees. I'm interested in operations such as creating, opening, reading, closing directories, applying actions to files in a directory tree or reading attributes of a file. Library should work under both Linux and Windows. Filesystem interface in glibc seems convenient for me, but I was unable to find native port of glibc for Windows. I've also checked documentation for SFL and I'm afriad it lacks tools for manipulating trees. Is there any other library which you would recommend or is there any other way how to implement these operations and keep them portable?