Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: comping files size

by haj (Curate)
on Jun 23, 2020 at 21:18 UTC ( #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
Node Status?
node history
Node Type: note [id://11118394]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2021-01-22 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?