I would like to know if I can retrieve the parial downloadede data of a failed NSURLSessionDownloadTask.
My use case is:
- I launch a download of a 1024MB file
- 512MB are downloaded
- The download fails because of network interruption
- When the download fails, the delagte's -(void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error is called. But the error object does not contain the path to the 512MB file of downloaded data.
My question is: is it possible to retrieve the downloaded 512MB using the NSURLSession APIs with a background session?
Thanks,