DownloadManager downloading files over 2.1 GB

前端 未结 5 2391
青春惊慌失措
青春惊慌失措 2021-02-19 02:53

I am working on an app and one of the features I am working on is to download some binary files. Some of them are really big (more than several mega-bytes). Downloads are comple

5条回答
  •  一生所求
    2021-02-19 03:47

    You can pass this issue by splitting file into smaller zip files. Next step is to join them on target, I've found ->this<- that might help you. If you will not compress file (split only option) you should have good performance. Other issue is that you will need twice as much storage space. You can download smaller files, about 100MB, write it to joined buffer and remove form file-system, that will preserve space wasting.

提交回复
热议问题