Also, check $q->cgi_error() at the top. If CGI.pm can't parse the POST, then it will show up there. And check that $filename is not undef, which happens with the missing form param.
Another thing to try is instrument the read loop. Print out the bytesread. This will give a good indication of what is being read.
In reply to Re: File Upload
by iburrell
in thread File Upload
by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |