我使用URLConnection从url下载文件并将该数据存储到文档目录中的文件中。当我收到响应时,当didReceiveResponse:方法被调用时,我创建文件并以这种方式移动到该文件的末尾:NSString*filePath=[[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES)objectAtIndex:0]stringByAppendingPathComponent:self.fileName];NSLog(@"filepathis%@",filePath);[[NSFil