Re: Uploading large files thru HTTP

2004-02-09 Thread Michael C. Davis
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

RE: Uploading large files thru HTTP

2004-02-09 Thread Bob Showalter
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

RE: Uploading large files thru HTTP

2004-02-09 Thread Bob Showalter
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? --

Uploading large files thru HTTP

2004-02-09 Thread Nilay Puri, Noida
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