views:

169

answers:

1

How would I start a long-running job from within a Catalyst app? I want a page from which the user can upload a list of URLs, and the application would then go and download these URLs. I need to implement an AJAX progress indicator that would then show the status of this job.

+4  A: 

You might try Catalyst::Plugin::UploadProgress. Its intended to be used for file uploads, but I'm thinking it can be used for what you're doing as well since you're downloading the URL (which is honestly like uploading a file to the server anyways).

Weegee
It might be a good idea to add a snippet of the module page.
Brad Gilbert
I linked it. Why would I need to regurgitate something here that a user can read through the link?
Weegee
This looks good, I can use its code as a reference for how to implement progress reporting. Thanks!
A. Murka