Re: Improve Download Speed using multiple connections
Re: Improve Download Speed using multiple connections
- Subject: Re: Improve Download Speed using multiple connections
- From: Mike Abdullah <email@hidden>
- Date: Wed, 10 Nov 2010 14:38:56 +0000
No idea what other products are doing, but I assume the general idea is to set up multiple connections, each downloading different portions of the file.
How you do that is connection-specific, but it sounds like you probably want to set the Range header of your HTTP requests. You'd probably have to wait until initial response has been received as well to inform you of total file size, and whether range requests are supported.
On 8 Nov 2010, at 20:32, Abhinav Tyagi wrote:
> Hi,
>
> I am trying to develop an Download Manager application for 10.4-10.6.
> I have seen that there are applications that download a single file
> with more than 1 connection.
> I believe that downloading a single file improves the speed specially
> if the server limits the speed per connection.
> Can any one give some directions/tips how can i proceed for
> implementing this. I am familiar to NSURLConnection
> synchronous and asynchronous mechanisms and have used them earlier.
> But i am not familiar how can we do this.
> How to determine weather the supports/allows multiple connections for
> a single file
> If it does, how do we determine the optimum number of connections.
>
> Thanks
> --
> Abhinav
>
> --One who asks is seen as a fool, the one who doesnt asks remain a fool forever
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please 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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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