Apache2::Upload and End of file found error
by Cfaust-Dougot other posts by this author
Dec 5 2006 10:29AM messages near this date
Re: Fedora Core 6, SOAP::Lite and mod_perl -- does this work?
|
light+ssl/heavy and conf management
Hi,
I'm trying to use Apache2::Upload as shown in the examples and the only thing I get is "End
of file found" in the error log.
I've found quite a few messages on the subject, but I'm not using Mason and I'm using libapr
eq2.0.7.1.
I've tried the fh and slurp methods and both are the same.
Code I've been playing with
my $req = Apache2::Request-> new($r);
my $upload = $req-> upload('new_image');
my $size = $upload-> size;
my $uploaded_file = $upload-> fh;
#$upload-> slurp($uploaded_file);
#$upload-> link($uploaded_photo_name) or
# die sprintf "link from '%s' failed: $!", $upload-> tempname;
Server Info
Apache/2.0.55 (Ubuntu) PHP/5.1.6 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.8 config
ured
TIA
|