views:

158

answers:

1

Hello,

I was wondering if anyone has a neat solution to getting the iphones upload/download rates programitacally in order to be able to set upload chunk sizes and things of the like...Any input on this?

Thanks

+1  A: 

Do you want the speed on the phone or on the server?

If you want to calculate the speed on the phone, just set up a timer to download a file of known size, say 10kB or something. You can then calculate the download rate.

Dan Lorenc
Cool, yea i figured to do something like this, but I was asking jsut incase there was a better way to do it...Thanks for the reply
Daniel