Friday, December 21, 2001 01:09 AM
I'm sorry, I had to face it some time ago. There is no "pure java" way to know available disk space. You could write a native method and access it via JNI. An alternative way is to call a system tool to gain this information checking for command output. When I had to cope with it I was quite lucky, because I could access a ASP page which contained just available space information. Don't know if it is useful in your case.