Quantcast
Viewing latest article 2
Browse Latest Browse All 2

How do I calculate the time remaining for my upload?

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?


Viewing latest article 2
Browse Latest Browse All 2

Trending Articles