in reply to Re: large file uploads - timeout
in thread large file uploads - timeout

I thought I remember reading somewhere that binmode was just needed for Windows systems and not Unix ones. I have tested the script on smaller (< 70kb) txt, doc, and pdf files and everything works fine. When I try to upload the 1.8MB pdf file is when I get the error. I'll try your suggestion. Thanks.

Replies are listed 'Best First'.
Re: Re: Re: large file uploads - timeout
by Jenda (Abbot) on Mar 22, 2003 at 17:51 UTC

    With the new input disciplines, utf8 and whatnot in Perl 5.8 even Unixers should get used to binmode(). (And I should reread the docs to be able to tell what exactly happens if they don't.)

    Jenda
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway: Closed small tag in signature