Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: comping files size

by haj (Vicar)
on Jun 23, 2020 at 21:18 UTC ( [id://11118394]=note: print w/replies, xml ) Need Help??


in reply to comping files size

You need to read the section "Processing a file upload field" in the documentation of CGI, where you get detailed guidance. In particular, the param method gives you the name of the file at the client's side. You don't have a file on the server at that time, so you can't check its size with -s.

Once you have fixed your form processing code, you might also want to check what you are actually printing to your OUTFILE handle.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2024-04-25 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found