All, The current FileUpload API only allows uploaded data to be read by the application if an intermediate buffer (i.e. DiskFileItem) is used. It would be very handy if the low-level interfaces provided read access to the uploaded file data.
Currently, the API provided by MultipartStream is in terms of an OutputStream, int readBodyData(OutputStream output) I am proposing the addition of a method like, InputStream readBodyData() I've started hacking together some code to add this functionality, and to re-implemented the original readBodyData(OutputStream) method in terms of this using IOUtils.copy(int, out). Would a patch along these lines be accepted? thanks, dave -- http://david.holroyd.me.uk/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
