I want to download say 10 different video from a url at different path,lets say my url is http://someurl/document/path1.mp4 upto path10.mp4 .I want to do this by http connection post method , is it possible and how .If i do by this do i need to create connetion1 , connection 2……. connection10 to keep track for which(connection) data i am getting response in connectionDidreceive Response method .
Basically what is want is to download the video alltogether that is i dont want to do like downloading 1st video then second then third but i what i want is to start download all the video at same time is that possible and how ?
You can either use NSOperationQueue’s for concurrent downloads. http://www.cimgf.com/2008/02/16/cocoa-tutorial-nsoperation-and-nsoperationqueue/ or look at ASIHTTPRequest http://allseeing-i.com/ASIHTTPRequest/How-to-use Look for ASINetworkQueue example:https://gist.github.com/150447