httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith C. Perry" <netad...@vcsn.com>
Subject Re: Problem use Apache::Upload
Date Fri, 30 Jul 2004 13:10:34 GMT
Quoting Markus Wichitill <mawic@gmx.de>:

> Keith C. Perry wrote:
> > use Apache::Upload;
> > use strict;
> > 
> > my $r=Apache->request;
> > my $req = Apache::Request->new($r);
> > my $upload = $req->upload();
> > my $fname  = $upload->filename();
> > my $io = $upload->io();
> > $r->print while <$io>;
> > 
> > I get error like this for filename() in the server error log...
> > 
> > [Fri Jul 30 02:25:54 2004] [error] Can't locate object method "filename"
> via
> > package "Apache::Upload::Table" at /www/local/upload.mpl line 18.
> 
> If you want an Apache::Upload object, you need to pass a field name:
> my $upload = $req->upload('foo');
> 
>
http://cvs.apache.org/~joes/libapreq2-2.04-dev/docs/html/group__apreq__xs__request.html#upload
> 

I saw that but the way the docs read, its sounds like you don't need a parameter
there.  Also when you say field name... field name to what? Is this arbitary?

-- 
Keith C. Perry, MS E.E.
Director of Networks & Applications
VCSN, Inc.
http://vcsn.com
 
____________________________________
This email account is being host by:
VCSN, Inc : http://vcsn.com

Mime
View raw message