| View previous topic :: View next topic |
| Author |
Message |
OooLong
Joined: 10 Feb 2010 Posts: 16
|
Posted: Apr 23, 2012 3:15 pm Post subject: Estimated download times |
|
|
Hi,
Anyone know how I can display Download Estimate Time in the comparison table for any particular file? site like Oron have that. Is this a custom coding or is it already include in XFS? Any help is appreciated. |
|
| Back to top |
|
 |
stamos
Joined: 11 Nov 2010 Posts: 139
|
Posted: Apr 23, 2012 3:26 pm Post subject: |
|
|
I would say it's just math
take the filesize, divide it through the max limit for your free users (lets say 100k/sec) and calcute the outcome
for premium users you take a average value, 800k/sec
so for a file 1 MB
free user: 10 sec
premium: 1.28 sec
those are 2-3 lines of code  |
|
| Back to top |
|
 |
OooLong
Joined: 10 Feb 2010 Posts: 16
|
Posted: Apr 24, 2012 2:04 pm Post subject: |
|
|
I don't know any coding . Is there one readily made available for XFS?  |
|
| Back to top |
|
 |
|