private void upload(User user, String path, String description, MultipartFile file) throws IOException {
		FileEntry fileEntry = new FileEntry();
		fileEntry.setContentBytes(file.getBytes());
		fileEntry.setDescription(description);
		fileEntry.setPath(FilenameUtils.separatorsToUnix(FilenameUtils.concat(path, file.getOriginalFilename())));
		fileEntryService.save(user, fileEntry);
	}
Upload a file.

@param user        current user
@param path        path
@param description description
@param file        multi part file
ngrinder-controller/src/main/java/org/ngrinder/script/controller/FileEntryApiController.java