NAME
Blosxom::Plugin::Request::Upload - Handles file upload requests
SYNOPSIS
# $request is Blosxom::Plugin::Request
my $upload = $request->upload( 'field' );
$upload->size;
$upload->path;
$upload->content_type:
$upload->fh;
$upload->basename;
DESCRIPTION
Handles file upload requests.
METHODS
- $upload->size
 - 
Returns the size of uploaded file in bytes.
 - $upload->fh
 - 
Returns a read-only file handle on the temporary file.
my $fh = $upload->fh; # Upgrade to IO::Handle my $handle = $fh->handle; # Upgrade to IO::File handle my $file = $fh->file; - $upload->path
 - 
Returns the path to the temporary file where uploaded file is saved.
 - $upload->content_type
 - 
Returns the content type of the uploaded file.
 - $upload->filename
 - 
Returns the original filename in the client.
 - $upload->basename
 - 
Returns basename for
filename. - $upload->header
 
SEE ALSO
Blosxom::Plugin::Request, Plack::Request::Upload
AUTHOR
Ryo Anazawa
LICENSE AND COPYRIGHT
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlatistic.