Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 65164 invoked from network); 3 Mar 2005 08:43:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Mar 2005 08:43:12 -0000 Received: (qmail 9566 invoked by uid 500); 3 Mar 2005 08:43:11 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 9542 invoked by uid 500); 3 Mar 2005 08:43:11 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 9528 invoked by uid 99); 3 Mar 2005 08:43:11 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from c10.shuttle.de (HELO saturn.ecos.de) (194.95.226.10) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 03 Mar 2005 00:43:09 -0800 Received: from lnx1.i.ecos.de (unknown [194.95.226.11]) by saturn.ecos.de (Postfix) with ESMTP id B6972D896D; Thu, 3 Mar 2005 09:42:28 +0100 (MET) Received: from wingr2 (unknown [10.11.12.250]) by lnx1.i.ecos.de (Postfix) with ESMTP id 0F0EA1EDBC5; Thu, 3 Mar 2005 07:51:37 +0100 (CET) From: "Gerald Richter" To: "'Robert Norris'" , Subject: RE: Empty file uploads Date: Thu, 3 Mar 2005 07:51:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcUfoZzAkrIoZ83vRE6WjxJxPcGMqQAG21Gw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <20050303032939.GD28060@katsumi> Message-Id: <20050303065137.0F0EA1EDBC5@lnx1.i.ecos.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > Note the filename - its the same as the one I was using for > my upload tests as described in my previous email. I must > stress that this piece of code is entirely unrelated - it > isn't even a form. However, it is running under the same set > of Embperl objects that build the site, and is running out of > the same mod_perl. > > It also isn't causing a problem - I've fixed the bug that > made the compiler break, and all is well. > > My money is on some global variable that isn't being cleared > properly. I wouldn't know where to start looking. > That filename might be from the fact that Perl thinks you are still about to read from the file handle of the uploaded file. I don't think that's a problem. Please try to use the code Daniel posted instead of yours. Similars code works for me for years now without problems Gerald --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org