Iphone 正在恢复已取消的AsiTRequest

Iphone 正在恢复已取消的AsiTRequest,iphone,objective-c,ios,download,asihttprequest,Iphone,Objective C,Ios,Download,Asihttprequest,是否可以在ASIHTTPRequest中恢复已取消的下载?我使用以下代码下载文件: NSURL *url = [NSURL URLWithString:urlString]; ASIHTTPRequest *request = [[ASIHTTPRequest alloc] initWithURL:url]; [request setTemporaryFileDownloadPath:[NSTemporaryDirectory() stringByAppendingPathComponent:[

是否可以在ASIHTTPRequest中恢复已取消的下载?我使用以下代码下载文件:

NSURL *url = [NSURL URLWithString:urlString];
ASIHTTPRequest *request = [[ASIHTTPRequest alloc] initWithURL:url];
[request setTemporaryFileDownloadPath:[NSTemporaryDirectory() stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.download",fileName]]];
[request setDidFailSelector:@selector(requestDidFailed:)];
[request setDidStartSelector:@selector(requestDidStarted:)];
[request setDidFailSelector:@selector(requestDidFinished:)];
[request setAllowResumeForFileDownloads:YES];
[request setDownloadDestinationPath:path];
[request setShowAccurateProgress:YES];
[request startAsynchronous];
并使用此代码取消:

[request cancel];

如果可能,如何恢复此下载?或者如何正确暂停请求?

此网站可能会有所帮助,请向下滚动到“恢复中断的下载”部分

我知道这个链接。我没有找到如何恢复已取消的下载。只有恢复中断。