简体   繁体   English

在PHP中使用blueimp批量上传文件

[英]Uploading files in chunks with blueimp in PHP

I try to put the plugin blueimp to my php application. 我尝试将插件blueimp放到我的php应用程序中。 My upload target is short films about 200MB. 我的上传目标是大约200MB的短片。 The problem is that when I set maxChunkSize to 1MB the plugin uploads a file of 977kb and I get: 问题是,当我将maxChunkSize设置为1MB时,插件会上传977kb的文件,我得到:

SyntaxError: Unexpected token A. 语法错误:意外的令牌A。

I had the same problem with uploading files in chunks , this link helped me . 我在分块上传文件时遇到了同样的问题,此链接对我有所帮助。

I think it should help you too . 我认为它也应该对您有帮助。

https://github.com/blueimp/jQuery-File-Upload/wiki/Chunked-file-uploads https://github.com/blueimp/jQuery-File-Upload/wiki/Chunked-file-uploads

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM