The CGI:: module limits largest file size with a variable called
$CGI::POST_MAX. From the documentation:
" [ ...]
If set to a non-negative integer, this variable puts a ceiling on the size
of POSTings, in bytes. If CGI.pm detects a POST that is greater than the
ceiling, it will immediately exit w
Bob Showalter wrote:
> Nilay Puri, Noida wrote:
>> Hi all,
>>
>> I am uplaoding files from one server to another server using Perl
>> HTTP post.
>>
>> But when the file size increases to 2 MB , i get error.
>>
>> Is there any way I can specify the max file size ?
>
> You can only do this if yo
Nilay Puri, Noida wrote:
> Hi all,
>
> I am uplaoding files from one server to another server using Perl
> HTTP post.
>
> But when the file size increases to 2 MB , i get error.
>
> Is there any way I can specify the max file size ?
You can only do this if you control the server. Do you?
--
Hi all,
I am uplaoding files from one server to another server using Perl HTTP post.
But when the file size increases to 2 MB , i get error.
Is there any way I can specify the max file size ?
My code is :
#!usr/local/bin/perl -w
use LWP::Simple;
use Data::Dumper;
use LWP::UserAgent;
use HTTP::R