Re: File upload corruption with embperl upload example

2001-04-25 Thread Gerald Richter
> How do I determine the file handle in your upload example? > Where would I put this command in the example? > [- if (defined $fdat{ImageName}) { open FILE, "> /tmp/file.$$"; binmode FILE ; print FILE $buffer while read($fdat{ImageName}, $buffer, 32768);

Re: File upload corruption with embperl upload example

2001-04-24 Thread Gerald Richter
> I wasn't aware there was a binmode. How do you turn this on? Is > this something from Perl or EmbPerl? > It's a standart Perl command. Look at perldoc -f binmode Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: File upload corruption with embperl upload example

2001-04-23 Thread Gerald Richter
> I'm using Randy Kobes' precompiled Apache distribution containing > the following: > > Embperl 1.3b3/Windows NT 4.0/Apache 1.3.12/ModPerl 1.23/Perl > 5.6.0 > > When I use the Embperl upload example, files are getting somehow > corrupted. The file size is not the same as the original and the fi

File upload corruption with embperl upload example

2001-04-23 Thread Scott Chapman
I'm using Randy Kobes' precompiled Apache distribution containing the following: Embperl 1.3b3/Windows NT 4.0/Apache 1.3.12/ModPerl 1.23/Perl 5.6.0 When I use the Embperl upload example, files are getting somehow corrupted. The file size is not the same as the original and the file is not u