I'm needing to scan in 10,000 text files into a database. There are some other procedures involved on the data before hitting the database, so it takes a little while. I'd like to provide a web page to do this and while it's running I'd like a progress bar to update in real time.
I tried doing this with jQuery and AJAX, but I can't get it to work reliably. It has to do with setTimeout() and setInterval() not working like I wanted and instead I only get either a response like once in the middle of the progress, or at the end when the progress is done. I can't seem to figure out how to make the code work.
Have you ever tried this? I'm stuck.
The Async File Progress Problem
Moderator: General Moderators
-
jack_indigo
- Forum Contributor
- Posts: 186
- Joined: Sun Jun 08, 2008 11:25 pm