Question

How to get (used,available,total) disk/directory space with boost or poco? Thanks!

Was it helpful?

Solution

boost::filesystem::space seems to be what you want.

It returns a space_info object, which is a simple struct containing data (one of it space available to your application, and total free space).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top