Re: resume file with NSURLDownload
Re: resume file with NSURLDownload
- Subject: Re: resume file with NSURLDownload
- From: Wain Glaister <email@hidden>
- Date: Wed, 27 Dec 2006 12:36:43 +0000
Hi,
Have you tried - (NSData *)resumeData and - (id)initWithResumeData:
(NSData *)resumeData delegate:(id)delegate path:(NSString *)path and
found a problem?
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
Classes/NSURLDownload_Class/Reference/Reference.html
Wain
On 27 Dec 2006, at 12:23, Lesin, Vladislav wrote:
Hi,
I use to download a large file from the web using the NSURLDownload
APIs.
Anyway if the user quits during the download, I lose the whole
download.
And the next time the user launchs the same download, I have to
download
the file again from the beginning. Instead I would like to save the
downloaded data to a file on the local disk (e.g.
File_001_Temp.txt) before
quitting, and, at the next time the user re-launchs the SAME
download, I append
the new data to that file.
How can I do download a file step by step?
Any idea, sample code, would be appreciated. Thank you.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden