Baz has asked for the wisdom of the Perl Monks concerning the following question:
My code is similar to the above code except for the 1024. What is its purpose?. Are the blocks transfered in 1KB packets - and if so that would be the best block size for uploading mp3swhile (my $bytesread = read($filesource, my $buffer,1024)) { print OUTFILE $buffer; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: optimization of browser upload
by vladb (Vicar) on May 15, 2002 at 23:14 UTC | |
|
Re: optimization of browser upload
by samtregar (Abbot) on May 16, 2002 at 01:05 UTC | |
|
Re: optimization of browser upload
by fireartist (Chaplain) on May 16, 2002 at 08:22 UTC | |
|
Re: optimization of browser upload
by domm (Chaplain) on May 16, 2002 at 19:19 UTC | |
by samtregar (Abbot) on May 16, 2002 at 20:38 UTC |