Primefaces fileUpload does not work well on huge number of file

扶醉桌前 提交于 2020-01-06 11:16:28

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/53396931/primefaces-fileupload-does-not-work-well-on-huge-number-of-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!