resp.getOutputStream().write(buffer);
resp.getOutputStream().flush();
}
/* Log downloaded file to the datastore */
new FileDaoJPAImpl().save(new FileInformations(fileUrl.trim()));
/* Inform a admin of this download by email and XMPP (GTalk) */
String trace = "File [" + fileUrl + "] downloaded by " + req.getRemoteAddr() + " (" + req.getRemoteHost() + ").";
// By Email
// --Create a MIME Message (mail)