Perl's "www::mechanize" module fails to upload file having large size
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221
Rep:
Perl's "www::mechanize" module fails to upload file having large size
I have written a perl script that successfully uploads a 10 MB file but when I try to upload a file having a size of 150 MB. It throws an error.
I am not sure if it is a bug or can we increase the upload file size limit of www::mechanzie
As it's a proprietary perl script, I cannot share it. All I can say is that my perl script calls a PHP script that uses "$_FILE" to upload the file and it successfully uploads if the file size is around 10MB
The expected output is that file should get uploaded but if the file size is large it throws following error: "500 syswrite: Unknown error"
www-mechanize module version is 0.72
Also could please someone let me know the best Perl forum where I can refer this issue?
Last edited by paragkalra; 10-24-2008 at 06:29 AM.
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221
Original Poster
Rep:
I am being able to upload the large file through WEB gui...so it's not a Size limit problem on the server ... also there is enough space on the disk.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.