Subject: | error in filehandle returned by upload function |
Date: | Tue, 3 Apr 2007 08:52:02 -0700 (PDT) |
To: | bug-CGI.pm [...] rt.cpan.org |
From: | Michael Greenish <greanie [...] yahoo.com> |
I am using:
perl 5.8.5
cgi.pm v 3.11
SuSE Linux 9.2
On occasion, $CGI->upload( 'file_param' ) returns undefined even though the file is properly uploaded and a dump (using Data::Dumper::Simple) of the cgi object shows the proper temp file in the tmpfiles hash. I verified that the temp file was properly uploaded by commenting out the unlink in the CGITempFile package DESTROY function, found the file on the server at the location listed in the tmpfiles hash and checked the byte count on the server versus on the client. I checked the upload function for the most recent version (3.28) and it seems unchanged since 3.11 so this problem can not be solved by upgrading. I notice this when performing multiple uploads in a single post, perhaps 10 or 20 files. File size can range from 10kB to 5MB. No cgi_errors were found to indicate there was a problem and I can not see why the upload function would fail occasionally.
Thanks,
Mike Greenish
Show quoted text
____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL