Re: Strange problem with upload file

2005-05-12 Thread Michael Stepanov
Thanks, Gerald for your quick answer. I've resolved that problem. It's related with old version of Embperl and latest version of CGI. You've fixed that bug in 2.0b11: Fixed problem with CGI.pm 3.01+, which deletes uploaded files, when CGI object is destroyed. So, after upgrating Embperl till l

RE: Embperl Object App Destructor?

2005-05-12 Thread Gerald Richter
> > Does the Embperl Object App have a destructor? Can I define > a counterpart to init() that gets called after my pages execute? > Also I never tried it, the normal CLEANUP sub which you can define in any Embperl page, should work for the application Object code too Gerald ---

RE: Strange problem with upload file

2005-05-12 Thread Gerald Richter
Hi, > > Recently, I've found in Apache log file that message: > Warning in Perl code: readline() on closed filehandle > fh1C%3A\fts\receive\PBW036H3.023 > > It seems that file was uploaded I guess there was some thumb client (maybe a robot) which pass invalid data to your form. > but

Embperl Object App Destructor?

2005-05-12 Thread Derrick Spell
Does the Embperl Object App have a destructor? Can I define a counterpart to init() that gets called after my pages execute? -Derrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Strange problem with upload file

2005-05-12 Thread Michael Stepanov
Dear all, I have a strange problem with upload file. It was happened only once but I'm afraid that it can be again. I have a some form like that: Select File:  In upload.epl I just get filehandler and use it as method's argument: my $up_obj = new UploadFile(); $up_obj->upload_file($fdat{answ