I need Java based FileUploader component to upload any file types (upto 100Mb in size) to Directory on Hard disk and then Database.
Description:
Based on Upload Request send by ClientFileUploader which is going to contain:
-transactional id
-file name
-file description
Server should save file on disk and upload its info into database table ( given connection or ConnectionPool) with structure similar to:
[Uniq Upload id,Upload transactional id,file Name,file description, timestamp]
NOTE:
1. Client component should be thread safe, buildable into MyClientFileUploader.jar file and pluggable into any Java application (Swing in my case)
2. Server component should work as stand alone fall tolerant application pair or/and under Netscape Server (supports http 1.1) utilizing plain vanilla Servlets and Apache Commons FileUpload component.
3. Test units
4. Architectural, deployment diagrams, java docs
Should not use any additional dependencies beside required by Apache “HTTPClient” for client component and Apache Commons “FileUpload” for Server
Should Utilize the following open source:
Apache “HTTPClient” 4.x (http://hc.apache.org/)
and Apache Commons “FileUpload” http://commons.apache.org/fileupload/