Re: Check Disk space before file upload

2005-08-24 Thread Shey Rab Pawo
Since we are on this tack, has anyone seen a Java program that uses the NIO to do something like a unix "tail" command? There is supposed to be one in chainsaw, but it really is just a simple polling app. On 8/24/05, Pilgrim, Peter <[EMAIL PROTECTED]> wrote: > I have written a long time ago, the

RE: Check Disk space before file upload

2005-08-24 Thread Pilgrim, Peter
I have written a long time ago, the JavaUNIX API framework http://www.xenonsoft.demon.co.uk/products/javaunix/ > -Original Message- > From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED] ==== > > > Hello, > > How can I check for disk space on the server before > uploading a file on

Re: Check Disk space before file upload

2005-08-24 Thread Dakota Jack
Thanks! On 8/23/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Hi Jack, > > You can grab the latest version off the Bugzilla ticket: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=36325 > > It's one of those things that you'll look at the code and go "D'oh! > That's obvious as hell!"

Re: Check Disk space before file upload

2005-08-23 Thread Frank W. Zammetti
Disk space before file upload Hi Jack, You can grab the latest version off the Bugzilla ticket: http://issues.apache.org/bugzilla/show_bug.cgi?id=36325 It's one of those things that you'll look at the code and go "D'oh! That's obvious as hell!", but amazingly I coul

RE: Check Disk space before file upload

2005-08-23 Thread David G. Friedman
Frank, That's a very interesting bit of coding. :) Regards, David -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 24, 2005 1:06 AM To: Struts Users Mailing List Subject: Re: Check Disk space before file upload Hi Jack, You can gra

Re: Check Disk space before file upload

2005-08-23 Thread Frank W. Zammetti
Hi Jack, You can grab the latest version off the Bugzilla ticket: http://issues.apache.org/bugzilla/show_bug.cgi?id=36325 It's one of those things that you'll look at the code and go "D'oh! That's obvious as hell!", but amazingly I couldn't find anything similar anywhere before I wrote it (th

Re: Check Disk space before file upload

2005-08-23 Thread Dakota Jack
Frank, could you shoot this code to me? That sounds interesting as all get out! Thanks ahead of time. On 8/23/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > There's no easy cross-platform way to do this, believe it or not. Seems > like it should be in the SDK, but it isn't. > > There is ho

Re: Check Disk space before file upload

2005-08-23 Thread Frank W. Zammetti
There's no easy cross-platform way to do this, believe it or not. Seems like it should be in the SDK, but it isn't. There is however some code I contributed to the Commons IO project that does exactly this. It is currently in SVN only, but I just submitted some updates today that hopefully w

Check Disk space before file upload

2005-08-23 Thread Anuradha S.Athreya
Hello, How can I check for disk space on the server before uploading a file on the server? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]