Quantcast
Channel: How do I calculate the time remaining for my upload? - Stack Overflow
Browsing index pages (2 articles)
↧

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...

View Article


Answer by Frogmouth for How do I calculate the time remaining for my upload?

Assuming that uploadedBytes is changing during upload.-> Call this script when you know that the upload starts:var timecontroller = setInterval(function(){ timeElapsed = (new Date()) - timeStarted;...

View Article

Browsing index pages (2 articles)


Latest Images