Primefaces fileUpload无法在大量文件上正常运行 [英] Primefaces fileUpload does not work well on huge number of file
问题描述
当我尝试使用fileUpload
组件(如5.000)上传超过1.000个文件时,它开始出现奇怪的行为.
它无法完成上传(某些文件仍停留在列表中),重新开始的唯一方法是添加新文件.之后,它也开始上传以前的文件.
其中有些根本没有随机上传.
When I trying to upload more then 1.000 files with fileUpload
component (like 5.000), it start having strange behavior.
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?
推荐答案
您可以尝试使用fileLimit=""
控制限制,但可能无济于事.我认为使用此元素上传如此多的文件确实是一个坏主意.
You can try to control limit with fileLimit=""
but maybe it won't help you. I think it's really a bad idea to use this element for uploading so many files.
这篇关于Primefaces fileUpload无法在大量文件上正常运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!