status.setStatus(FileUploadStatus.UPLOADING);
BaseService.fileUploadStatusMap.put(user, status);
// If file size exceeds, a FileUploadException will be thrown
fu.setSizeMax(268435456);
fu.setProgressListener(new ProgressListener() {
public void update(long bytesRead, long contentLength, int item) {
status.setItem(item);
status.setBytesRead(bytesRead);
status.setContentLength(contentLength);
status.setStatus(FileUploadStatus.UPLOADING);