Solved

Monitor progress AJAX file upload

Posted on 2010-11-26
2
770 Views
Last Modified: 2012-06-21
I created an AJAX script that uses a hidden iframe to upload a file and send back a response.  I was wondering if it was possible to monitor the progress of the upload and if so how?  Since this method doesn't really use the XHR object, how would I go about monitoring the progress of the upload in realtime?
0
Comment
Question by:peterw89
2 Comments
 
LVL 20

Expert Comment

by:Proculopsis
ID: 34218288

I don't think this will be easy, however google docs has a nice file upload interface that appears to monitor progress but it may all be smoke and mirrors.
0
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 34219782
Do you mean that you want the client to be able to see something like a progress bar?  Do a Google search for this: jquery+upload+progress+bar
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now