7 years, 1 month ago.

How to check whether Local file system drive has capacity to write data?

I have an application where I'm appending test result values to a file on the local file system flash drive. I would like to first check the remaining drive capacity so that the program can warn the user if the file is getting too big and data might be lost if they continue. Can anyone advise? Many thanks.

Be the first to answer this question.