Re: AW: AW: DownloadAction Application

2005-03-07 Thread Dakota Jack
Just as an additional note, the threshold in the commons fileupload determines when things are written to file, etc. rather than to memory and can be used for various efficiencies. Jack On Mon, 7 Mar 2005 12:05:49 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote: > Yes, it does, sort of. Check Thre

Re: AW: AW: DownloadAction Application

2005-03-07 Thread Dakota Jack
Yes, it does, sort of. Check ThresholdingOutputStream and DeferredFileOutputStream. My UploadOutputStream overrides the write(byte data[], int i, int j) method to monitor the upload. Once you have the hook of the monitor variable in the upload process, you can do whatever you like during the re

Re: AW: AW: DownloadAction Application

2005-03-07 Thread Frank W. Zammetti
I'd be willing to bet Commons does the same thing, but I don't know for sure. Anyone reading this able to illuminate us? Yeah, I know what you mean... lousy kids these days, busting up all my code! :) (We'll ignore that my code probably should have been more robust!) Unfortunately I used to BE o

AW: AW: DownloadAction Application

2005-03-07 Thread Leon Rosenberg
I used (sometimes still using) o'reillys file upload utility (com.oreilly.servlet.MultipartRequest). You can tell the MultipartRequest how much data you actually want to have. The problem is, that It uploads all_the_data (at least done in earlier versions) and determines then, that the file was too

AW: AW: DownloadAction Application

2005-03-07 Thread Leon Rosenberg
I used (sometimes still using) o'reillys file upload utility (com.oreilly.servlet.MultipartRequest). You can tell the MultipartRequest how much data you actually want to have. The problem is, that It uploads all_the_data (at least done in earlier versions) and determines then, that the file was too