Hi,
1. why can't I send bigger file thru browser ? What is the limitation, if there is any ? I really do not know.
2. Which doc should I read ? I found mention of DYNAMIC_FILE_UPLAOD in perldoc HTTP::Request::Common.
But it mentions only about setting it to true value.
And I tried , $DYNAMIC_FILE_UPLOAD = 1;
which did not help.
Can u suggest the actual way to use this variable.
Thnaks.
use HTTP::Request::Common ;
use HTTP::Request::Common qw(POST $DYNAMIC_FILE_UPLOAD);
$DYNAMIC_FILE_UPLOAD = 1; # make it defined (don't know why)
But it made no differecne to the result .
| [reply] |
the server can impose any limit it wants ... it doesn't have to tell you what that limit is, or why. If you have problems sending big files, but not small files from yourscript -- then try sending the same files with a different script in a different language, or with a browser.
If stting $DYNAMIC_FILE_UPLOAD to a true value didn't help, then i'm not sure what to tell you ... the docs seem pretty clear to me ... setting it to tru means that the Request objects won't try to load whole files into memory, they'll only read them on demand when POSTing them
My guess is that hte remote site has a limit on the fle sizes it accepts.
| [reply] [d/l] |