commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Carriedo <>
Subject [fileupload] - Get digest on the fly
Date Wed, 03 Apr 2013 13:05:39 GMT
Hello there!

I have been checking the mailing lists seeking a thread discussing how 
to get the hash of an uploaded file using Commons Fileupload and the 
best match i found was:

However, the solution pointed above seems to require writing first the 
file to disc, something i would like to avoid. It would be great to use 
directly the underlying input stream for the file and pluging it to its 
corresponding output stream (which is not a file one). This would enable 
things like getting the hash on the fly through wrapping the input 
stream with a DigestInputStream (which is one of my needs).

Will something like this be possible in following releases?

Thank you very much for your attention!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message