LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-24-2008, 05:59 AM   #1
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
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.
 
Old 10-24-2008, 08:03 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Maybe it is an upload limit configuration on server side ?
 
Old 10-24-2008, 08:21 AM   #3
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
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.....

Any other pointers....???
 
  


Reply

Tags
paragkalra, perl, www



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"ImportError: No module named gobject", Exaile fails to run. Python problem. kummiliim Linux - Software 1 12-11-2008 01:12 PM
Moving a file into a large directory: "No space left on device" Jimantha Linux - General 2 09-09-2008 11:40 PM
"www::mechanize"-->www.cpan.org using this module login to secure website vvnkishore Linux - General 0 10-04-2007 01:14 AM
Install ati-drivers fails with "Failed to compile kernel module" erpe Debian 2 06-13-2006 05:09 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration