Silverpeas/Silverpeas-Core — pull request #253 by mmoqui (2012-11-12 14:23:30+00:00)
Title: #File Upload Improvement. 

Now, the file upload is done through the central location FileUploadUtil (update of the AjaxFileUploadServlet servlet).
As DiskFileUpload is deprecated, FileUploadUtil uses instead ServletFileUpload class to perform the file uploading as recommended by the Apache Commons FileUpload library.
By taking profit of the ServletFileUpload, additional parameters are set:

- the temporary directory used to temporarily store the uploaded file is the Silverpeas temporary directory,

-and the size above which the uploaded file are temporarily stored is 2MB (under this size, the files are loaded in memory).