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 $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) ?
.



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)
  • 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 ... Experienced Perl programmer: http://castleamber.com/ ...
    (comp.lang.perl.misc)