Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
no chunking possible on safari #589
i am using pluploader with the following settings, working fine on ie,ff but not on safari since i get a bad response when using chunk uploading:
when uploading a file smaller than my 5mb chunking like 1mb, everything works fine
i read a lot about this but couldnt find a solution in those posts.
it's not a php problem since it is working with any other browser..
Thanks in advanced,
ok, maybe it's a problem with large files, not just with chunking.
$_FILES with large files (like 8mb):
@john-dev it might be that your server has a limit on file size that you can upload (by default it is set to 2mb I think), so when you use chunks (in Chrome and Firefox), file manages to make it's way to the destination folder piece by piece (not exceeding the limit that is). But Safari 5.x is not able to slice the file to chunks and upload fails. You can force chunking in Safari 5.x by explicitly asking Plupload to choose a runtime with chunking support, like this:
... runtimes: 'html5,flash,silverlight', browse_button: 'uploader', container: 'container', required_features: 'chunks' // <- this line is crucial ...