简体   繁体   English

Primefaces fileUpload在大量文件上无法正常工作

[英]Primefaces fileUpload does not work well on huge number of file

When I trying to upload more then 1.000 files with fileUpload component (like 5.000), it start having strange behavior. 当我尝试使用fileUpload组件(如5.000)上传超过1.000个文件时,它开始出现奇怪的行为。 It does not complete the upload (some file remain stuck in the list), the only way to start it over is add a new file. 它无法完成上传(某些文件仍停留在列表中),重新开始的唯一方法是添加新文件。 After that it start upload also the previous ones. 之后,它也开始上传以前的文件。 Some of them are not uploaded at all, randomly. 其中一些根本没有随机上传。

Is there a limit? 有限制吗? How can I control that? 我该如何控制?

You can try to control limit with fileLimit="" but maybe it won't help you. 您可以尝试使用fileLimit=""控制限制,但可能对您没有帮助。 I think it's really a bad idea to use this element for uploading so many files. 我认为使用此元素上传如此多的文件确实是一个坏主意。

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

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