Possible Duplicate:
Merge Two Video files in iPhone Application
I have download 40mb video file from server in multiple split(2mb). i'm using NSURLConnection
i want to make that 20 split as a single video file. how to do that is there any API in iphone framework can some one explain me with code.
here is my connectionDidFinishLoading method
- (void)connectionDidFinishLoading:(NSURLConnection *)connection {
NSString *fileName = [NSString stringWithFormat:@"%@",
filePath];
[contentData writeToFile:fileName atomically:YES];
}
if i write like this i got only last split file. i mean 2mb data only some one guide me how to do that?