Hola Simone :)

I will have a look to the source to check how could this be done, I will inform about this issue on the dev mailing list from now on.

Ciao!

On 03/04/13 16:59, Simone Tripodi wrote:
Hola Francisco!

sounds a nice feature to be added in next release, patches are welcome!!!

Hasta pronto!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Wed, Apr 3, 2013 at 3:05 PM, Francisco Carriedo
<[email protected]>wrote:

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<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<[email protected]>
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to