commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Carriedo <fcarri...@solaiemes.com>
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:

http://apache-commons.680414.n4.nabble.com/Commons-FileUpload-Hash-and-Commons-IO-tc747368.html#a747369

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: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message