Retrieving partial Ajax response during long requests?
I've been tasked to create some web interfaces for perl scripts that we run. One issue that I can't seem to work out is how to show data from my perl script in real time.
For example, I have one script that will perform the following actions on 20 remote PC's...
- Log into an SSH session
- Backup the current device configuration (5 seconds to 15 minutes)
- Display specific values of several interfaces (30 seconds per interface)
- Exit the SSH session
While this script is executing, I want to display the perl data stream on the users webpage. I don't want to wait for the script to complete and them dump all of the output to the user.
Is it possible with Ajax (or other jQuery tools) to perform in this way?