In my jQuery file uploader I have the following available variables: uploadedBytes
, totalBytes
and timeStarted
.
How do I caculate the time remaining for an upload using these variables? I came across a similar question that involved an uploadSpeed
variable.
Can I deduce the uploadSpeed
from these variables? Or am I able to calculate time remaining using only those three variables?