
OpenPlugin::Upload - Handle file uploads

my $OP = OpenPlugin->new(); my @uploads = $OP->upload->get_incoming() my $upload = $OP->upload->get_incoming( $name );

get_incoming( [ $name ] )
get( [ $name ] )
With no arguments, this returns a list of filenames mapping to the files uploaded by the client. If you pass in $name then you get a hashref containing the keys:
The name given in the upload field.
The content-type of the file.
The size of the file.
The file handle of the file.
The real name of the file being uploaded.
set_incoming( \%upload )
Associates the OpenPlugin::Upload %upload hash with $upload-{ name }>.
See get_incoming for a list of valid parameters this function accepts.

See the TO DO section of the <OpenPlugin::Request> plugin.

None known.

See the individual driver documentation for settings and parameters specific to that driver.

Copyright (c) 2001-2003 Eric Andreychek. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Eric Andreychek <eric@openthought.net>