Just another Perl shrine | |
PerlMonks |
Re: large file uploads - timeoutby perlplexer (Hermit) |
on Mar 22, 2003 at 17:34 UTC ( [id://245179]=note: print w/replies, xml ) | Need Help?? |
Are you positive that timeouts are to blame? When you say "a script that is capable of uploading smaller sized files", do you mean to say that you tested it on small text files and it worked? If so, then the problem is probably related to you not binmode()ing your filehandle... Try doing this:
--perlplexer Update: And before I forget... make sure you binmode() both filehandles, the one that you opened for writing and the one that you're reading from;i.e., LOCAL and $file. The open() statement for $file is not shown in your code, make sure you call binmode() right after that open()...
In Section
Seekers of Perl Wisdom
|
|