Apache2::ASP::UploadHandler - Base class for Handlers that process file uploads
Don't use this clas. Subclass Apache2::ASP::MediaManager instead.
This package provides the Apache2::ASP environment with the ability to process file uploads while they are happening. Trigger points are exposed that are called at specific times during a file upload.
The $Upload argument is an Apache2::ASP::UploadHookArgs object.
$Upload
Called just before upload_hook() is called for the first time. If you need to do any kind of setup or double-checking, this is the time to do it.
upload_hook()
Called just after upload_hook() is called for the last time. If you need to do any kind of cleanup or redirect the user, this is the time to do it.
Called each time Apache reads in a chunk of bytes from the client during the upload.
It's possible that some bugs have found their way into this release.
Use RT http://rt.cpan.org/NoAuth/Bugs.html?Dist=Apache2-ASP to submit bug reports.
Please visit the Apache2::ASP homepage at http://www.devstack.com/ to see examples of Apache2::ASP in action.
John Drago mailto:jdrago_999@yahoo.com
Copyright 2007 John Drago, All rights reserved.
This software is free software. It may be used and distributed under the same terms as Perl itself.
To install Apache2::ASP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache2::ASP
CPAN shell
perl -MCPAN -e shell install Apache2::ASP
For more information on module installation, please visit the detailed CPAN module installation guide.