I see you have some good and experimental addon in your directory. But If my use-case is such that I want to upload more than 10GB size of a file, what is your suggestion?
What addon should I use and how to implement chunking because of course server will not let connection for that long… someone should actually write an addon using https://github.com/blueimp/jQuery-File-Upload
Pontus,
Thanks for your response. I am now trying to use that addon. However I have one question, how do I specify different path than the default tomcat path when the file is being uploaded.
Currently, it just uploads to some random tomcat /temp directory.
uploader.addFileUploadedListener(new Plupload.FileUploadedListener() {
private static final long serialVersionUID = 1L;
@Override
public void onFileUploaded(PluploadFile file) {
File uploadedFile = (File) file.getUploadedFile();
Notification.show("This file was just uploaded: " + uploadedFile.getAbsolutePath());
}
});
I haven’t actually used the add-on. You might actually have to rename and store the uploaded file using some Java code yourself after the upload is done. The weird name is probably created to prevent name collisions.