XFileSharing Pro - Estimated download times

Message
Author
OooLong
Posts: 18
Joined: Feb 10, 2010 2:33 am

Estimated download times

#1 Postby OooLong » Apr 23, 2012 3:15 pm

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.

stamos
Posts: 139
Joined: Nov 11, 2010 5:37 pm

#2 Postby stamos » Apr 23, 2012 3:26 pm

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 :)

OooLong
Posts: 18
Joined: Feb 10, 2010 2:33 am

#3 Postby OooLong » Apr 24, 2012 2:04 pm

I don't know any coding :(. Is there one readily made available for XFS? :)


Return to “XFileSharing Pro”