0

My app is downloading large 90 MB video files from a server. Many customers in rural areas complain about inability to download them. Downloads always restart from scratch when the connection breaks for too long.

Is there a library that can download large files in very low and interrupted bandwidth conditions over the course of several days if necessary? Such that it resumes an unfinished download and keeps adding bit by bit until it is complete?

It has to be very, very robust.

iamjustaprogrammer
  • 1,634
  • 2
  • 17
  • 34

1 Answers1

1

NSURLSession supports this. When a download fails you can obtain an object that can be used to resume the download later. Read the doc for more infos.

You can also make use of a background session if you want to perform a long download in the background. See the doc and this question : NSURLSession background download - resume over network failure

Community
  • 1
  • 1
deadbeef
  • 5,409
  • 2
  • 17
  • 47
  • I recall reading about a bug with NSURLSession that caused downloads to fail forever, for a particular file. Any words on this? And do you know of a library that uses NSURLSession and takes care of all the nitty gritty details to manage a download and display progress? – iamjustaprogrammer Aug 21 '15 at 19:59
  • Never heard of that bug, but I'm not using NSURLSession a lot so I wouldn't know. As for a NSURLSession manager that takes care of restarting downloads automatically I don't have one in mind sorry. – deadbeef Aug 21 '15 at 20:22
  • Start here : https://github.com/search?l=Objective-C&o=desc&q=download+manager&s=stars&type=Repositories – deadbeef Aug 21 '15 at 20:39