Hi,
        
I want to implement a file upload but the spool file of mod_perl should
be created in extra temp directories.
        
use Apache2::Upload; 
my $req = Apache2::Request->new($r, TEMP_DIR => "/home/httpd/tmp"); 
my $upload = $req->upload('file');
        
This is the snippet of the code I use to change the directory. My
problem is now that I can't create a directory for the tempfile, because
mod_perl is halting the whole script until the upload finished and I
want to store the total upload sum in a extra file in the same directory
before the upload starts.

I also tried the upload hook but it doesn't work, too.

Stephan


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to