Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Re: large file uploads - timeout

by emilford (Friar)
on Mar 22, 2003 at 17:41 UTC ( #245180=note: print w/replies, xml ) Need Help??

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.)

    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

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://245180]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2022-08-17 04:32 GMT
Find Nodes?
    Voting Booth?

    No recent polls found