Re: How to find uploaded data size from content-length



Asterbing <no@xxxxxxxxxx> wrote:

Considering a multipart/form-data form, is there a formula to calculate
the size of an uploaded file from within $ENV{'CONTENT_LENGTH'} which
represent the size of the entire data in STDIN (including all name/value
pairs, boundary between parts, content-disposition & type lines, some
blank lines) ?

Why not -s filename assuming you store it in a file system?

--
John Bokma Freelance software developer
&
Experienced Perl programmer: http://castleamber.com/
.



Relevant Pages

  • Re: How to find uploaded data size from content-length
    ... Asterbing wrote: ... the size of an uploaded file from within $ENVwhich ... represent the size of the entire data in STDIN (including all name/value ... pairs, boundary between parts, content-disposition & type lines, some ...
    (comp.lang.perl.misc)
  • How to find uploaded data size from content-length
    ... Considering a multipart/form-data form, is there a formula to calculate ... the size of an uploaded file from within $ENVwhich ... represent the size of the entire data in STDIN (including all name/value ... pairs, boundary between parts, content-disposition & type lines, some ...
    (comp.lang.perl.misc)