c++/Linux checking available hard drive space
Posted on 2002-04-30
I have a client and server which transfers files back and
fourth, each runs on its own machine. I wanted to check the available hard drive space to make sure I have room
to save a file as it's received before I save it.
With the first packet of the file I have the size of the file to save, I just need to find out how to query the
hard drive and compare.