Re: How to find uploaded data size from content-length
- From: John Bokma <john@xxxxxxxxxxxxxxx>
- Date: 19 Apr 2006 15:43:29 GMT
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/
.
- Follow-Ups:
- Re: How to find uploaded data size from content-length
- From: Asterbing
- Re: How to find uploaded data size from content-length
- References:
- How to find uploaded data size from content-length
- From: Asterbing
- How to find uploaded data size from content-length
- Prev by Date: Re: Creating 1 file w/ the contents of 7 other files mixed randomly.
- Next by Date: Re: Net::FTP error on put: Bad command sequence
- Previous by thread: Re: How to find uploaded data size from content-length
- Next by thread: Re: How to find uploaded data size from content-length
- Index(es):
Relevant Pages
|