NAME
Apache2::ASP::UploadHandler - Base class for Handlers that process file uploads
SYNOPSIS
Subclass Apache2::ASP::MediaManager instead.
DESCRIPTION
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.
OVERRIDABLE METHODS
upload_start( $self, $asp, $Upload )
The $Upload
argument is an Apache2::ASP::UploadHookArgs object.
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_end( $self, $asp, $Upload )
The $Upload
argument is an Apache2::ASP::UploadHookArgs object.
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.
upload_hook( $self, $asp, $Upload )
The $Upload
argument is an Apache2::ASP::UploadHookArgs object.
Called each time Apache reads in a chunk of bytes from the client during the upload.
BUGS
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.
HOMEPAGE
Please visit the Apache2::ASP homepage at http://apache2-asp.no-ip.org/ to see examples of Apache2::ASP in action.
AUTHOR
John Drago mailto:jdrago_999@yahoo.com
COPYRIGHT AND LICENSE
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.