What is actually itemLimit in FineUploader?

2019-09-18 18:40发布

I am successfully using FineUploader with Amazon S3 but when the item limit is set, let's say to "3", I am not able to upload more than 3 files unless I refresh the page. So, what do you mean by "session" when saying in the documentation:

"Maximum number of items that can be potentially uploaded in this session. Will reject all items that are added or retried after this limit is reached."

I thought that "session" is one upload round - take 3 files and upload them, then take 3 more or less than 3 and upload them and so on.

Thanks in advance.

1条回答
家丑人穷心不美
2楼-- · 2019-09-18 18:47

In the case of itemLimit, the "session" is simply the current instance of Fine Uploader. To start a new "session", you would construct a new instance of that Fine Uploader object, either by a page refresh or programmatically.

查看更多
登录 后发表回答