Re: Large files > 2GB
No only the latest version here I'll try the github version
Plupload Forum → General discussion → Large files > 2GB
No only the latest version here I'll try the github version
Thanks to all for the info here. I'm a new member and not very technically savvy, but have already picked up so many tips from here.
As of the latest version (1.5.1.1) where is the support on html5 for large files? I am required to use html5 runtime for the project i'm on.
Let me try and reiterate what i've gotten from this thread.
1. html5 requires the whole file to be uploaded to memory
2. The more memory you have on your machine the larger the file you can upload
3. Chunking is not supported in html5? (I actually tested this with 5mb chunks on a 250mb file and the upload completed, but it seems like some chunks were missing and the file remained in multiple 5mb chunks. less than 240mb worth. Is more processing required to recombine chunks? I assume this is automatic (if all chunks are successfully uploaded))
Is the github version still the only one with the additional html5 support for larger files?
I don't keep careful track of the large file issues because I don't use large files with my application. But as far as I know the following is more or less correct:
1. This depends on your browser and how much of the html5 file handling portion of the standard it supports. Older browsers and different brands of browser support different features in the standard. I think that the latest versions of Chrome, Firefox at the least will only load each chunk into memory as they are needed. But IE (for example) does not support any of the html5 file handling features - not even multiple file selection and upload so html5 does not work at all (much less chunking).
2. True for those browsers that need to load the whole file into memory, or if you are not using chunking, or you are using one of the other runtimes that needs to load the whole file into memory (for example flash).
3. See point number 1. It depends on your brand and version of browser - I don't have a definitive answer. There is automatic feature detection for html5 that you can look at once you have created and initialized your uploader. I think it works relatively well and will tell you if chunking is supported.
There has only been a single insignificant change made to the master branch of plupload on github since the 1.5.1.1 release was made. You can check the commits to see when the release notes were updated and check the minor change pushed in since then.
sasha_k, thanks for the information.
Hello,
The Vimeo uploader somehow handles w/o flash uploads up to 5GB w/o any kind of problems, and it does not seem to load the entire file into RAM.
After reading this thread it seems to accomplish the impossible
So any ideas how that uploader works?
Hi guys, does this thing work for large files? If we have a user that will have a file of 4GB in size will this thing actually be able to handle it?
Thanks,
Chris
Actually default Flash upload method (while having many other flaws), does this one right. So if you are not using resize option, chunking or custom headers, Plupload will fail back to default method, which doesn't load whole file in memory. Theoretically it can be any size, that your PC can handle.
Hi,
Most posts in this thread are concerned with uploading files larger than 2 GB or more. I actually already have problems uploading files larger than 50MB to Amazon S3 (with flash and Chrome, current version of plupload). I usually get an error message when about 40-50MB have been uploaded. Everything works smoothly with smaller files. max_file_size is set to 500MB, chunk_size is not defined.
Does anybody know how to fix this? Is this a known problem which will be solved in the next version?
Thanks all!
I don't know if it will be any help but there is a long thread regarding uploading to Amazon S3 here:
HTML5 runtime with enabled chunking easily uploads files up to 8.93gb (theoretically any size). Which means that any new browser can handle it. That is any recent Chrome, Opera, Firefox and IE10 (and basically any other browser having support for File.slice and XHR Level 2).
I have tested Silverlight and Browserplus
@sinlyn is BrowserPlus still used anywhere?
Hi, i'm testing Plupload with large file because i would like to use it.
This is the config:
$(document).ready(function () {
$("#uploader").pluploadQueue({
runtimes: ('html5,silverlight'),
url: 'Plupload/PluploadHandler.ashx',
max_file_size: '10485760mb',
chunk_size: '25mb',
unique_names: false,
flash_swf_url: 'Plupload/plupload.flash.swf',
silverlight_xap_url: 'Plupload/plupload.silverlight.xap'
});
});
HTML5 on Firefox works great (tested 5.5 GB file).
On IE9 with Silverlight, no problems with files < 2GB, but with files > 2GB, the progress remain at 0% and if i debug i get the following error in plupload.full.js when invoking
j().UploadFile(s[v.id], t.settings.url,.............
0x80004005 - Microsoft JScript runtime error: System.OverflowException: Value was either too large or too small for an Int32.
Can you please help me solve this problem?
I'm using last version from plupload.com. Any idea?
I also tried to recompile jProgrammer branch on github ( https://github.com/JProgrammer/plupload … p/Plupload )
but it gives me the same error with files bigger than 2GB
0x80004005 - Microsoft JScript runtime error: System.OverflowException: Value was either too large or too small for an Int32.
Moreover i compared jProgrammer's "FileReference.cs" file with your last version one and seems like you implemented jProgrammer's inprovements changing Int32 into Long...but still gives me that Overflow error...
@link76, that error usually pops up when you do not have chunking enabled, but you have. Strange. Let me try.
Ok Davit, thank you very much!
AUUHHHH!!! I got the problem Davit!
In my js code i have also this:
uploader.bind('BeforeUpload', function (up, file) {
up.settings.multipart_params = { fileSize: file.size, folderID: myId};
});
I added this because i need the full filesize in my custom handler.
If i debug the JS and alter the 'fileSize' multipart param to a valid Int32, the upload does work!!!
Seems like Plupload try to cast this param to Int32 and it fails because the fileSize is too big...
Now i'm searchng for the plupload code that does it...
For now i solved changing
up.settings.multipart_params = { fileSize: file.size, folderID: myId};
to
up.settings.multipart_params = { fileSize: file.size.toString(), folderID: myId};
This avoid the cast in Int32!!!
For now i solved changing
up.settings.multipart_params = { fileSize: file.size, folderID: myId};
to
up.settings.multipart_params = { fileSize: file.size.toString(), folderID: myId};
This avoid the cast in Int32!!!
Hi Link,
I'm interested on testing your setup.
I'm a newbie to plupload and i'm need of big file uploads.
Could you pass me a link so I can download and test your setup? index.html, js routines, etc..
Thank you.
I've been testing an implementation of this where users regularly upload 1GB+ files, and have been having problems with Flash and HTML5 uploading anything bigger then a 200MB file. Thanks
I know flash has 32bit issues and Google gears on OSX has 32 bit issues.
Plupload Forum → General discussion → Large files > 2GB
You are not logged in. Please login or register.
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_repository official extension is installed. Copyright © 2003–2009 PunBB.
Generated in 0.135 seconds (90% PHP - 10% DB) with 10 queries