MultiThreadDownload
MultiThreadDownload copied to clipboard
limit download count
how can i limit count of downloading files? for example make a queue when user want to download 5 file, limit to download to 3 file in same time
You have to set 'setMaxThreadNum' to 1 : configuration.setMaxThreadNum(1); It pushs new downloads to a queue.