473,605 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Does this exist anywhere in the world? (javascript download progress meter)

Hello,

I've read quite a bit of discussion on different approaches of how to
create a download progress meter that can be implemented into a Web
site. I understand that by the very nature of the way the download
transport is handled that this cannot "automatica lly" be done...
upload progress meters exist, but not download. However, I've seen
different theories on how it could be done if one knows the file size.
Is anyone aware of a working download meter script

written in JavaScript?

Sincerely,

Julia
Jul 20 '05 #1
2 6157
rf
<DHTML crosspost snipped>

"Julia Briggs" <ju*******@yaho o.com> wrote in message
news:c4******** *************** ***@posting.goo gle.com...
Hello,

I've read quite a bit of discussion on different approaches of how to
create a download progress meter that can be implemented into a Web
site.


Downloading what? The web page or a file?

If the former then the page has to be downloaded before the javascript runs.
By the time you get to report on it it has already happened.

If the latter then the download process is not even handled by the browser,
it is hived off to a seperate process. Any javascript running in the web
page has no knowledge of this process.

Besides, the download process itself has a progress bar.

What exactly are you trying to achieve?

Cheers
Richard.
Jul 20 '05 #2
rf

"Julia Briggs" <ju*******@yaho o.com> wrote in message
news:c4******** *************** ***@posting.goo gle.com...
"rf" <ma**********@t he.time> wrote in message news:<_b******* *********@news-server.bigpond. net.au>...
I want to have users who download large PDF documents that are
normally automatically loaded into the browser presented with a
download progress bar.


By the time the browser has launched the adobe plug in and given it control
so it can download the pdf your web page is long gone. The web page being
displayed now is the one containing the pdf (well, the plug in anyway).

Even if you could somehow stay there (by for example loading the pdf into a
second frame while your javascript lives in a first frame) there is no way
you can interrogate the adobe plug in to determine how much it has loaded.
Even adobe may not know how big the file is. A server is not obliged to
provide this information. I doubt that adobe would even care. It would just
read the file till it got to the end of it.

You are better off putting something on your page, near the link, like
<p>This is a 500KB pdf file, it may take a while to download</p>

Your viewer will have some idea about how long such a download should take.

Cheers
Richard.
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1794
by: Duane Phillips | last post by:
Greetings. Can an app be developed in .Net to deploy like local installed apps, and then later reuse that code and object set to deploy on a web server? I have read a little about WEB vs. RICH vs. SMART in .Net. Still vague as to what path(s) to pursue. Background:
2
5132
by: Joe A | last post by:
I'm using Access 2002 on Windows XP PC, 500 megs ram, Front end/back end app. I have a simple form that draws a thermometer to indicate progress of code that is running. The thermometer form sometimes stops advancing (does not repaint) part way thru it's cycle. If you click the MS Access window title bar during the cycle, the Access title bar switches to Access Not Responding. But if I ctrl+Break to stop the code it is indeed still...
1
1603
by: Doug | last post by:
In I.E. 6 (and probably other versions as well), there is a sort of progress meter in the panel at the bottom of the window. This meter increments a few pixels at a time when the browser is trying to connect or do some other operation that is taking more than a few seconds. My suspicion is that there is no way that this "progress meter" can actually be metering anything meaningful (at least with respect to whatever is being downloaded or...
4
2917
by: bfulford | last post by:
I have a macro that needs to have a progress meter displayed since it is long running. I moved the Macro's instructions to a table and pulled those records into a recordset that is looped through. PROBLEM -- The form, with a progress meter and labels to inform the user as to which step of a series of instructions is being done and the overall progress, seems to lock from repainting after the first docmd.openquery because the form is never...
1
1466
by: Jake Barnes | last post by:
I've SiteMeter one one of my sites. It's keeping track of how many times people view my site. Unfortunately, when I try to open a page of my site using window.open(), SiteMeter hijacks the window that opens. I can see the window open, and I can briefly see that page starting to load, but then it suddenly advances to a new page, one that has nothing on it except the SiteMeter icon. Can anyone see anything here that would indicate why that...
11
5219
by: brother52 | last post by:
I am using My.Computer.FileSystem.CopyFile() to copy a bunch of files from one directoy to another, and would like to display a progress bar on the screen for each file being copied. Is this possible?
2
3699
by: Adam R | last post by:
Looking for an upload progress meter which can works with 'non-patched' PHP4. -- -------------------------------------- Adam Raszkiewicz Brothers-in-arts.com --------------------------------------
5
23641
by: maniesh | last post by:
I want to complete a project and I want to place a timed progress bar on my splash screen, I want to find out a method of timing my progress bar to update every 10 seconds. here's what I got so far: Private Sub Form_Open(Cancel As Integer) If (ProgressBar0.Value <0) then ProgressBar0.Value = ProgressBar0.Value +10 End If ProgressBar0.Value =100 End Sub
0
8009
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7938
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8427
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8078
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6752
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5452
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3962
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2441
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1279
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.